Enum rustix::termios::QueueSelector
source · #[repr(u32)]pub enum QueueSelector {
IFlush = 0,
OFlush = 1,
IOFlush = 2,
}
Expand description
TC*
values for use with tcflush
.
Variants§
IFlush = 0
TCIFLUSH
—Flush data received but not read.
OFlush = 1
TCOFLUSH
—Flush data written but not transmitted.
IOFlush = 2
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 for QueueSelector
impl PartialEq for QueueSelector
impl Copy for QueueSelector
impl Eq for QueueSelector
impl StructuralPartialEq for QueueSelector
Auto Trait Implementations§
impl Freeze for QueueSelector
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)