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

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.