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
impl Clone for ForkptyResult
[src]
impl Clone for ForkptyResult
[src]fn clone(&self) -> ForkptyResult
[src]
fn clone(&self) -> ForkptyResult
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ForkptyResult
[src]
impl Debug for ForkptyResult
[src]impl Copy for ForkptyResult
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more