Struct nix::pty::OpenptyResult [−][src]
Expand description
Representation of a master/slave pty pair
This is returned by openpty
. Note that this type does not implement Drop
, so the user
must manually close the file descriptors.
Fields
master: RawFd
The master port in a virtual pty pair
slave: RawFd
The slave port in a virtual pty pair
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OpenptyResult
impl Send for OpenptyResult
impl Sync for OpenptyResult
impl Unpin for OpenptyResult
impl UnwindSafe for OpenptyResult
Blanket Implementations
Mutably borrows from an owned value. Read more