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
sourceimpl Clone for OptionalActions
impl Clone for OptionalActions
sourcefn clone(&self) -> OptionalActions
fn clone(&self) -> OptionalActions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OptionalActions
impl Debug for OptionalActions
sourceimpl Hash for OptionalActions
impl Hash for OptionalActions
sourceimpl PartialEq<OptionalActions> for OptionalActions
impl PartialEq<OptionalActions> for OptionalActions
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more