#[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
impl Copy for OptionalActions
Source§impl Debug for OptionalActions
impl Debug for OptionalActions
impl Eq for OptionalActions
Source§impl Hash for OptionalActions
impl Hash for OptionalActions
Source§impl PartialEq for OptionalActions
impl PartialEq for OptionalActions
impl StructuralPartialEq for OptionalActions
Auto Trait Implementations§
impl Freeze for OptionalActions
impl RefUnwindSafe for OptionalActions
impl Send for OptionalActions
impl Sync for OptionalActions
impl Unpin for OptionalActions
impl UnsafeUnpin 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