[−][src]Trait async_ready::AsyncReadReady
Determine if the underlying API can be read from.
Associated Types
type Ok
The type of successful values yielded by this trait.
type Err: Error + Send + Sync
The type of failures yielded by this trait.
Required methods
fn poll_read_ready(
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<Self::Ok, Self::Err>>
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<Self::Ok, Self::Err>>
Check if the underlying API can be read from.
Provided methods
fn poll_read_ready_unpin(
&mut self,
cx: &mut Context
) -> Poll<Result<Self::Ok, Self::Err>> where
Self: Unpin + Sized,
&mut self,
cx: &mut Context
) -> Poll<Result<Self::Ok, Self::Err>> where
Self: Unpin + Sized,
A convenience for calling AsyncReadReady::poll_read_ready
on Unpin
types.