Enum cogl::PollFDEvent[][src]

#[non_exhaustive]
pub enum PollFDEvent {
    In,
    Pri,
    Out,
    Err,
    Hup,
    Nval,
    // some variants omitted
}

A bitmask of events that Cogl may need to wake on for a file descriptor. Note that these all have the same values as the corresponding defines for the poll function call on Unix so they may be directly passed to poll.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
In

there is data to read

Pri

data can be written (without blocking)

Out

there is urgent data to read.

Err

error condition

Hup

hung up (the connection has been broken, usually for pipes and sockets).

Nval

invalid request. The file descriptor is not open.

Trait Implementations

impl Clone for PollFDEvent[src]

impl Copy for PollFDEvent[src]

impl Debug for PollFDEvent[src]

impl Display for PollFDEvent[src]

impl Eq for PollFDEvent[src]

impl Hash for PollFDEvent[src]

impl Ord for PollFDEvent[src]

impl PartialEq<PollFDEvent> for PollFDEvent[src]

impl PartialOrd<PollFDEvent> for PollFDEvent[src]

impl StructuralEq for PollFDEvent[src]

impl StructuralPartialEq for PollFDEvent[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> ToString for T where
    T: Display + ?Sized
[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.