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
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
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
)