Struct nix::pty::OpenptyResult
source · pub struct OpenptyResult {
pub master: OwnedFd,
pub slave: OwnedFd,
}
Expand description
Representation of a master/slave pty pair
This is returned by openpty
.
Fields§
§master: OwnedFd
The master port in a virtual pty pair
slave: OwnedFd
The slave port in a virtual pty pair
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenptyResult
impl RefUnwindSafe for OpenptyResult
impl Send for OpenptyResult
impl Sync for OpenptyResult
impl Unpin for OpenptyResult
impl UnwindSafe for OpenptyResult
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