pub struct PTTY { /* private fields */ }
Implementations§
source§impl PTTY
impl PTTY
sourcepub fn noncanonical_mode(&self) -> Result<()>
pub fn noncanonical_mode(&self) -> Result<()>
In termios terms, noncanonical mode means:
In noncanonical mode input is available immediately (without the user having to type a line-delimiter character), no input processing is performed, and line editing is disabled
What we want with this method is to have total control on how to process input and how to print to the pseudo terminal.
More info in termios’ webpage inside “Canonical and noncanonical mode” section
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PTTY
impl Send for PTTY
impl Sync for PTTY
impl Unpin for PTTY
impl UnwindSafe for PTTY
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