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>

impl StructuralPartialEq for SetArg

Auto Trait Implementations

impl Freeze for SetArg

impl RefUnwindSafe for SetArg

impl Send for SetArg

impl Sync for SetArg

impl Unpin for SetArg

impl UnsafeUnpin for SetArg

impl UnwindSafe for SetArg

Blanket Implementations

impl<T> Any for SetArg where T: 'static + ?Sized,

impl<T> Borrow<T> for SetArg where T: ?Sized,

impl<T> BorrowMut<T> for SetArg where T: ?Sized,

impl<T> CloneToUninit for SetArg where T: Clone,

impl<T> From<T> for SetArg

impl<T> ToOwned for SetArg where T: Clone,

impl<T, U> Into<U> for SetArg where U: From<T>,

impl<T, U> TryFrom<U> for SetArg where U: Into<T>,

impl<T, U> TryInto<U> for SetArg where U: TryFrom<T>,