Struct pty_proc::prelude::Termios
[−]
[src]
pub struct Termios { pub fd: c_int, pub config: termios, }
Fields
fd: c_int
config: termios
Save the original configuration of terminal.
Methods
impl Termios
[src]
pub fn new(fd: c_int) -> Result<Self, TermiosError>
[src]
The constructor method new
setups the terminal.
Trait Implementations
impl Default for Termios
[src]
impl Debug for Termios
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more