[−][src]Trait async_ready::AsyncWriteReady
Determine if the underlying API can be written to.
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_write_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 written to.
Provided methods
fn poll_write_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 AsyncWriteReady::poll_write_ready
on Unpin
types.