Enum calloop::Interest[][src]

pub enum Interest {
    Readable,
    Writable,
    Both,
}
[]

Interest to register regarding the file descriptor

Variants

Readable
[]

Will generate events when readable

Writable
[]

Will generate events when writable

Both
[]

Will generate events when readable or writable

Trait Implementations

impl Clone for Interest[src][+]

impl Copy for Interest[src]

impl Debug for Interest[src][+]

Auto Trait Implementations

impl RefUnwindSafe for Interest

impl Send for Interest

impl Sync for Interest

impl Unpin for Interest

impl UnwindSafe for Interest

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.