diff options
Diffstat (limited to 'src/pty.rs')
-rw-r--r-- | src/pty.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,8 +17,12 @@ use errno::Errno; /// /// This is returned by `openpty`. Note that this type does *not* implement `Drop`, so the user /// must manually close the file descriptors. +#[derive(Clone, Copy)] +#[allow(missing_debug_implementations)] pub struct OpenptyResult { + /// The master port in a virtual pty pair pub master: RawFd, + /// The slave port in a virtual pty pair pub slave: RawFd, } |