pub struct PtyBase { /* private fields */ }Implementations§
Source§impl PtyBase
impl PtyBase
pub fn new(termios: termios) -> Self
pub fn create_object( spec: ObjectCreate, termios: termios, ) -> Result<Object<Self>>
pub fn update_termios(&self, f: impl FnMut(termios) -> termios) -> termios
pub fn try_read_termios(&self, current: u64) -> Option<(termios, u64)>
pub fn read_termios(&self) -> (termios, u64)
pub fn wait_termios(&self, generation: u64) -> u64
pub fn update_winsize(&self, f: impl FnMut(winsize) -> winsize) -> winsize
pub fn try_read_winsize(&self, current: u64) -> Option<(winsize, u64)>
pub fn read_winsize(&self) -> (winsize, u64)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PtyBase
impl !RefUnwindSafe for PtyBase
impl StoreCopy for PtyBase
impl Unpin for PtyBase
impl UnwindSafe for PtyBase
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