Struct pseudoterm::TermiosSetter [−][src]
pub struct TermiosSetter(_);
A way to get/set the termios flags. On some operating systems this struct can keep internal data to avoid redundant system calls.
Methods
impl TermiosSetter
[src]
impl TermiosSetter
pub fn new<F: AsRawFd>(fd: &F) -> Result<Self>
[src]
pub fn new<F: AsRawFd>(fd: &F) -> Result<Self>
Create a new termios getter/setter
pub fn get(&mut self) -> Result<Termios>
[src]
pub fn get(&mut self) -> Result<Termios>
Get the termios data
pub fn set(&mut self, termios: &Termios) -> Result<()>
[src]
pub fn set(&mut self, termios: &Termios) -> Result<()>
Set the termios data
Auto Trait Implementations
impl Send for TermiosSetter
impl Send for TermiosSetter
impl Sync for TermiosSetter
impl Sync for TermiosSetter