Enum SetArg
#[repr(i32)]
#[non_exhaustive]
pub enum SetArg
Specify when a port configuration change should occur.
Used as an argument to tcsetattr()
Variants
-
TCSANOW = libc::TCSANOW The change will occur immediately
-
TCSADRAIN = libc::TCSADRAIN The change occurs after all output has been written
-
TCSAFLUSH = libc::TCSAFLUSH Same as
TCSADRAIN, but will also flush the input buffer
Trait Implementations
impl Clone for SetArg
fn clone(&self) -> Self
impl Copy for SetArg
impl Debug for SetArg
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for SetArg
impl Hash for SetArg
fn hash<__H: Hasher>(&self, state: &mut __H)
impl Ord for SetArg
fn cmp(&self, other: &Self) -> Ordering
impl PartialEq for SetArg
fn eq(&self, other: &Self) -> bool
impl PartialOrd for SetArg
fn partial_cmp(&self, other: &Self) -> Option<Ordering>