Struct nix::pty::ForkptyResult
source · pub struct ForkptyResult {
pub master: OwnedFd,
pub fork_result: ForkResult,
}
Available on crate features
term
and process
only.Expand description
Representation of a master with a forked pty
This is returned by forkpty
.
Fields§
§master: OwnedFd
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§
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