Struct rustix_openpty::Pty
source · pub struct Pty {
pub controller: OwnedFd,
pub user: OwnedFd,
}
Expand description
A pair of file descriptors representing a pseudoterminal.
Fields§
§controller: OwnedFd
The controller of the pseudoterminal.
user: OwnedFd
The user side of the pseudoterminal that applications can connect to and be controlled by.
Auto Trait Implementations§
impl RefUnwindSafe for Pty
impl Send for Pty
impl Sync for Pty
impl Unpin for Pty
impl UnwindSafe for Pty
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