Struct nix::sys::termios::Termios [−][src]
pub struct Termios {
pub input_flags: InputFlags,
pub output_flags: OutputFlags,
pub control_flags: ControlFlags,
pub local_flags: LocalFlags,
pub control_chars: [cc_t; 32],
// some fields omitted
}Stores settings for the termios API
This is a wrapper around the libc::termios struct that provides a safe interface for the
standard fields. The only safe way to obtain an instance of this struct is to extract it from
an open port using tcgetattr().
Fields
input_flags: InputFlagsInput mode flags (see termios.c_iflag documentation)
output_flags: OutputFlagsOutput mode flags (see termios.c_oflag documentation)
control_flags: ControlFlagsControl mode flags (see termios.c_cflag documentation)
local_flags: LocalFlagsLocal mode flags (see termios.c_lflag documentation)
control_chars: [cc_t; 32]Control characters (see termios.c_cc documentation)
Trait Implementations
impl Clone for Termios[src]
impl Debug for Termios[src]
impl Eq for Termios[src]
impl From<termios> for Termios[src]
impl PartialEq<Termios> for Termios[src]
impl StructuralEq for Termios[src]
impl StructuralPartialEq for Termios[src]
Auto Trait Implementations
impl !RefUnwindSafe for Termios
impl Send for Termios
impl !Sync for Termios
impl Unpin for Termios
impl UnwindSafe for Termios
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,