Enum FlushArg
#[repr(i32)]
#[non_exhaustive]
pub enum FlushArg
Specify a combination of the input and output buffers to flush
Used as an argument to tcflush().
Variants
-
TCIFLUSH = libc::TCIFLUSH Flush data that was received but not read
-
TCOFLUSH = libc::TCOFLUSH Flush data written but not transmitted
-
TCIOFLUSH = libc::TCIOFLUSH Flush both received data not read and written data not transmitted
Trait Implementations
impl Clone for FlushArg
fn clone(&self) -> Self
impl Copy for FlushArg
impl Debug for FlushArg
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for FlushArg
impl Hash for FlushArg
fn hash<__H: Hasher>(&self, state: &mut __H)
impl Ord for FlushArg
fn cmp(&self, other: &Self) -> Ordering
impl PartialEq for FlushArg
fn eq(&self, other: &Self) -> bool
impl PartialOrd for FlushArg
fn partial_cmp(&self, other: &Self) -> Option<Ordering>