Struct nix::pty::OpenptyResult
[−]
[src]
pub struct OpenptyResult { pub master: RawFd, pub slave: RawFd, }
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
impl Clone for OpenptyResult
[src]
fn clone(&self) -> OpenptyResult
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more