[][src]Trait ready::ReadReady

pub trait ReadReady {
    type Ok;
    type Err;
    fn poll_read_ready(
        &mut self,
        waker: &Waker
    ) -> Poll<Result<Self::Ok, Self::Err>>; }

Determine if the underlying API can be read from.

Associated Types

type Ok

The type of successful values yielded by this trait.

type Err

The type of failures yielded by this trait.

Loading content...

Required methods

fn poll_read_ready(
    &mut self,
    waker: &Waker
) -> Poll<Result<Self::Ok, Self::Err>>

Check if the underlying API can be read from.

Loading content...

Implementors

Loading content...