Struct nix::pty::ForkptyResult [−][src]
pub struct ForkptyResult { pub master: RawFd, pub fork_result: ForkResult, }
Expand description
Representation of a master with a forked pty
This is returned by forkpty
. 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
fork_result: ForkResult
Metadata about forked process
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ForkptyResult
impl Send for ForkptyResult
impl Sync for ForkptyResult
impl Unpin for ForkptyResult
impl UnwindSafe for ForkptyResult
Blanket Implementations
Mutably borrows from an owned value. Read more