[][src]Trait async_ready::AsyncWriteReady

pub trait AsyncWriteReady {
    type Ok;
    type Err: Error + Send + Sync;
    fn poll_write_ready(
        self: Pin<&mut Self>,
        cx: &mut Context
    ) -> Poll<Result<Self::Ok, Self::Err>>; }

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.

Loading content...

Required methods

fn poll_write_ready(
    self: Pin<&mut Self>,
    cx: &mut Context
) -> Poll<Result<Self::Ok, Self::Err>>

Check if the underlying API can be written to.

Loading content...

Implementors

Loading content...