Struct nix::pty::ForkptyResult
source · [−]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
sourceimpl Clone for ForkptyResult
impl Clone for ForkptyResult
sourcefn clone(&self) -> ForkptyResult
fn clone(&self) -> ForkptyResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ForkptyResult
impl Debug for ForkptyResult
impl Copy for ForkptyResult
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more