Enum nix::sys::termios::FlushArg [−][src]
#[repr(i32)]pub enum FlushArg { TCIFLUSH, TCOFLUSH, TCIOFLUSH, }
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 Clone for FlushArg
[src]
impl Clone for FlushArg
fn clone(&self) -> FlushArg
[src]
fn clone(&self) -> FlushArg
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for FlushArg
[src]
impl Copy for FlushArg
impl Debug for FlushArg
[src]
impl Debug for FlushArg
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for FlushArg
[src]
impl PartialEq for FlushArg
fn eq(&self, other: &FlushArg) -> bool
[src]
fn eq(&self, other: &FlushArg) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for FlushArg
[src]
impl Eq for FlushArg