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
TCIFLUSH
Flush data that was received but not read
TCOFLUSH
Flush data written but not transmitted
TCIOFLUSH
Flush 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::Result
impl Hash for FlushArg
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl Ord for FlushArg
fn cmp(&Self, other: &FlushArg) -> $crate::cmp::Ordering
impl PartialOrd<FlushArg> for FlushArg
fn partial_cmp(&Self, other: &FlushArg) -> $crate::option::Option<$crate::cmp::Ordering>
impl StructuralEq for FlushArg
impl StructuralPartialEq for FlushArg
Auto Trait Implementations
impl RefUnwindSafe for FlushArg
impl UnwindSafe for FlushArg
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T