Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions serial-unix/src/tty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const O_NOCTTY: c_int = 0;
/// A TTY-based serial port implementation.
///
/// The port will be closed when the value is dropped.
#[derive(Debug)]
pub struct TTYPort {
fd: RawFd,
timeout: Duration,
Expand Down
1 change: 1 addition & 0 deletions serial-windows/src/com.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use ffi::*;
/// A serial port implementation for Windows COM ports.
///
/// The port will be closed when the value is dropped.
#[derive(Debug)]
pub struct COMPort {
handle: HANDLE,
timeout: Duration,
Expand Down