#[repr(u32)]pub enum OptionalActions {
Now = 0,
Drain = 1,
Flush = 2,
}
Available on crate feature
termios
only.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
impl Copy for OptionalActions
impl Eq 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 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