Enum nix::pty::ForkptyResult
source · pub enum ForkptyResult {
Parent {
child: Pid,
master: OwnedFd,
},
Child,
}
Expand description
A successful result of forkpty()
.
Variants§
Parent
This is the parent process of the underlying fork.
Fields
Child
This is the child process of the underlying fork.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ForkptyResult
impl RefUnwindSafe for ForkptyResult
impl Send for ForkptyResult
impl Sync for ForkptyResult
impl Unpin for ForkptyResult
impl UnwindSafe for ForkptyResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more