Enum nix::sys::termios::SetArg
#[repr(i32)]
#[non_exhaustive]
pub enum SetArg {
TCSANOW,
TCSADRAIN,
TCSAFLUSH,
}Documentation
Specify when a port configuration change should occur.
Used as an argument to tcsetattr()
Variants
TCSANOWThe change will occur immediately
TCSADRAINThe change occurs after all output has been written
TCSAFLUSHSame as TCSADRAIN, but will also flush the input buffer
Trait Implementations
impl Debug for SetArg
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Hash for SetArg
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for SetArg
fn cmp(&Self, other: &SetArg) -> $crate::cmp::Orderingimpl PartialOrd<SetArg> for SetArg
fn partial_cmp(&Self, other: &SetArg) -> $crate::option::Option<$crate::cmp::Ordering>impl StructuralEq for SetArgimpl StructuralPartialEq for SetArgAuto Trait Implementations
impl RefUnwindSafe for SetArgimpl UnwindSafe for SetArgBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T