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
TCSANOW
The change will occur immediately
TCSADRAIN
The change occurs after all output has been written
TCSAFLUSH
Same 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::Result
impl Hash for SetArg
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl Ord for SetArg
fn cmp(&Self, other: &SetArg) -> $crate::cmp::Ordering
impl PartialOrd<SetArg> for SetArg
fn partial_cmp(&Self, other: &SetArg) -> $crate::option::Option<$crate::cmp::Ordering>
impl StructuralEq for SetArg
impl StructuralPartialEq for SetArg
Auto Trait Implementations
impl RefUnwindSafe for SetArg
impl UnwindSafe for SetArg
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T