#[repr(i32)]
#[non_exhaustive]
pub enum FlushArg {
TCIFLUSH,
TCOFLUSH,
TCIOFLUSH,
}
Expand description
Specify a combination of the input and output buffers to flush
Used as an argument to tcflush()
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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§
source§impl Ord for FlushArg
impl Ord for FlushArg
source§impl PartialEq<FlushArg> for FlushArg
impl PartialEq<FlushArg> for FlushArg
source§impl PartialOrd<FlushArg> for FlushArg
impl PartialOrd<FlushArg> for FlushArg
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more