[][src]Struct sys_util::PollEvents

pub struct PollEvents<'a, T> { /* fields omitted */ }

The list of event returned by PollContext::wait.

Methods

impl<'a, T: PollToken> PollEvents<'a, T>[src]

pub fn to_owned(&self) -> PollEventsOwned<T>[src]

Copies the events to an owned structure so the reference to this (and by extension PollContext) can be dropped.

Important traits for PollEventIter<'a, I, T>
pub fn iter(&self) -> PollEventIter<Iter<epoll_event>, T>[src]

Iterates over each event.

Important traits for PollEventIter<'a, I, T>
pub fn iter_readable(&self) -> PollEventIter<Iter<epoll_event>, T>[src]

Iterates over each readable event.

Important traits for PollEventIter<'a, I, T>
pub fn iter_hungup(&self) -> PollEventIter<Iter<epoll_event>, T>[src]

Iterates over each hungup event.

Auto Trait Implementations

impl<'a, T> !Send for PollEvents<'a, T>

impl<'a, T> !Sync for PollEvents<'a, T>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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