Struct nix::pty::OpenptyResult
source · 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§
source§impl Clone for OpenptyResult
impl Clone for OpenptyResult
source§fn clone(&self) -> OpenptyResult
fn clone(&self) -> OpenptyResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more