Enum nix::sys::termios::FlushArg
#[repr(i32)]
#[non_exhaustive]
pub enum FlushArg {
TCIFLUSH,
TCOFLUSH,
TCIOFLUSH,
}Documentation
Specify a combination of the input and output buffers to flush
Used as an argument to tcflush().
Variants
TCIFLUSHFlush data that was received but not read
TCOFLUSHFlush data written but not transmitted
TCIOFLUSHFlush both received data not read and written data not transmitted
Trait Implementations
impl Debug for FlushArg
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Hash for FlushArg
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for FlushArg
fn cmp(&Self, other: &FlushArg) -> $crate::cmp::Orderingimpl PartialOrd<FlushArg> for FlushArg
fn partial_cmp(&Self, other: &FlushArg) -> $crate::option::Option<$crate::cmp::Ordering>impl StructuralEq for FlushArgimpl StructuralPartialEq for FlushArgAuto Trait Implementations
impl RefUnwindSafe for FlushArgimpl UnwindSafe for FlushArgBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T