Enum rustix::termios::QueueSelector
source · #[repr(i32)]pub enum QueueSelector {
IFlush,
OFlush,
IOFlush,
}
Expand description
TC*
values for use with tcflush
.
Variants§
IFlush
TCIFLUSH
—Flush data received but not read.
OFlush
TCOFLUSH
—Flush data written but not transmitted.
IOFlush
TCIOFLUSH
—IFlush
and OFlush
combined.
Trait Implementations§
source§impl Clone for QueueSelector
impl Clone for QueueSelector
source§fn clone(&self) -> QueueSelector
fn clone(&self) -> QueueSelector
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueueSelector
impl Debug for QueueSelector
source§impl Hash for QueueSelector
impl Hash for QueueSelector
source§impl PartialEq<QueueSelector> for QueueSelector
impl PartialEq<QueueSelector> for QueueSelector
source§fn eq(&self, other: &QueueSelector) -> bool
fn eq(&self, other: &QueueSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QueueSelector
impl Eq for QueueSelector
impl StructuralEq for QueueSelector
impl StructuralPartialEq for QueueSelector
Auto Trait Implementations§
impl RefUnwindSafe for QueueSelector
impl Send for QueueSelector
impl Sync for QueueSelector
impl Unpin for QueueSelector
impl UnwindSafe for QueueSelector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more