Enum nix::sys::termios::SetArg[][src]

#[repr(i32)]pub enum SetArg {
    TCSANOW,
    TCSADRAIN,
    TCSAFLUSH,
}

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 Clone for SetArg[src]

impl Copy for SetArg[src]

impl Debug for SetArg[src]

impl Eq for SetArg[src]

impl Hash for SetArg[src]

impl Ord for SetArg[src]

impl PartialEq<SetArg> for SetArg[src]

impl PartialOrd<SetArg> for SetArg[src]

impl StructuralEq for SetArg[src]

impl StructuralPartialEq for SetArg[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.