[][src]Struct futmio::PollBundle

pub struct PollBundle { /* fields omitted */ }

Methods

impl PollBundle[src]

pub fn new(
    timeout: impl Into<Option<Duration>>,
    event_buf_size: usize
) -> IoResult<PollBundle>
[src]

pub fn iter(&self) -> IoResult<()>[src]

If threading in a threadpool or other kind of scheduler, this is the function that should be called in a loop. For error details, see mio::Poll::poll.

pub fn register<E: ?Sized>(
    &self,
    handle: &E,
    interest: Ready,
    opts: PollOpt,
    waker_ptr: Arc<Mutex<Option<Waker>>>
) -> IoResult<Token> where
    E: Evented
[src]

For internal registration of

Trait Implementations

impl Clone for PollBundle[src]

Auto Trait Implementations

Blanket Implementations

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 = !

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.

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

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

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