Enum rustix::termios::OptionalActions
source · #[repr(u32)]
pub enum OptionalActions {
Now,
Drain,
Flush,
}
Expand description
TCSA*
values for use with tcsetattr
.
Variants§
Now
TCSANOW
—Make the change immediately.
Drain
TCSADRAIN
—Make the change after all output has been transmitted.
Flush
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<OptionalActions> for OptionalActions
impl PartialEq<OptionalActions> 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 ==
.