[][src]Enum newt::widgets::form::FDFlags

#[repr(C)]pub enum FDFlags {
    Read,
    Write,
    Except,
}

File descriptor flags for the Form.watch_fd() function.

Variants

Read

Exit when the file descriptor is ready for reading.

Write

Exit when the file descriptor is ready for writing.

Except

Exit when an exception has occurred on the file descriptor.

Auto Trait Implementations

impl RefUnwindSafe for FDFlags

impl Send for FDFlags

impl Sync for FDFlags

impl Unpin for FDFlags

impl UnwindSafe for FDFlags

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, 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.