Trait coreplus::io::AsyncWrite[][src]

pub trait AsyncWrite {
    type Error;
    fn poll_write(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>,
        buf: &[u8]
    ) -> Poll<Result<usize, Self::Error>>;
fn poll_flush(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>
    ) -> Poll<Result<(), Self::Error>>;
fn poll_close(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>
    ) -> Poll<Result<(), Self::Error>>; }
Expand description

Write bytes asynchronously.

Associated Types

Required methods

Implementors