pub struct PtyMaster {
pub master: OwnedFd,
pub child: Child,
}Expand description
Owns the master side of a PTY and the child shell process.
Fields§
§master: OwnedFdMaster file descriptor (non-blocking).
child: ChildChild process running the shell.
Implementations§
Auto Trait Implementations§
impl Freeze for PtyMaster
impl RefUnwindSafe for PtyMaster
impl Send for PtyMaster
impl Sync for PtyMaster
impl Unpin for PtyMaster
impl UnwindSafe for PtyMaster
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