Enum rustix::termios::OptionalActions  
source · #[repr(u32)]pub enum OptionalActions {
    Now = 0,
    Drain = 1,
    Flush = 2,
}Expand description
TCSA* values for use with tcsetattr.
Variants§
Now = 0
TCSANOW—Make the change immediately.
Drain = 1
TCSADRAIN—Make the change after all output has been transmitted.
Flush = 2
TCSAFLUSH—Discard any pending input and then make the change
after all output has been transmitted.
Trait Implementations§
source§impl Clone for OptionalActions
 
impl Clone for OptionalActions
source§fn clone(&self) -> OptionalActions
 
fn clone(&self) -> OptionalActions
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 OptionalActions
 
impl Debug for OptionalActions
source§impl Hash for OptionalActions
 
impl Hash for OptionalActions
source§impl PartialEq for OptionalActions
 
impl PartialEq for OptionalActions
source§fn eq(&self, other: &OptionalActions) -> bool
 
fn eq(&self, other: &OptionalActions) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for OptionalActions
impl Eq for OptionalActions
impl StructuralEq for OptionalActions
impl StructuralPartialEq for OptionalActions
Auto Trait Implementations§
impl RefUnwindSafe for OptionalActions
impl Send for OptionalActions
impl Sync for OptionalActions
impl Unpin for OptionalActions
impl UnwindSafe for OptionalActions
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