Struct nix::pty::OpenptyResult  
source · [−]Expand description
Representation of a master/slave pty pair
This is returned by openpty.  Note that this type does not implement Drop, so the user
must manually close the file descriptors.
Fields
master: RawFdThe master port in a virtual pty pair
slave: RawFdThe slave port in a virtual pty pair
Trait Implementations
sourceimpl Clone for OpenptyResult
 
impl Clone for OpenptyResult
sourcefn clone(&self) -> OpenptyResult
 
fn clone(&self) -> OpenptyResult
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 moresourceimpl Debug for OpenptyResult
 
impl Debug for OpenptyResult
sourceimpl Hash for OpenptyResult
 
impl Hash for OpenptyResult
sourceimpl PartialEq<OpenptyResult> for OpenptyResult
 
impl PartialEq<OpenptyResult> for OpenptyResult
sourcefn eq(&self, other: &OpenptyResult) -> bool
 
fn eq(&self, other: &OpenptyResult) -> bool
impl Copy for OpenptyResult
impl Eq for OpenptyResult
impl StructuralEq for OpenptyResult
impl StructuralPartialEq for OpenptyResult
Auto Trait Implementations
impl RefUnwindSafe for OpenptyResult
impl Send for OpenptyResult
impl Sync for OpenptyResult
impl Unpin for OpenptyResult
impl UnwindSafe for OpenptyResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    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