Trait async_serialization::AsyncWriterFutureLen [] [src]

pub trait AsyncWriterFutureLen<W: AsyncWrite>: AsyncWriterFuture<W> {
    fn remaining_bytes(&self) -> usize;
}

Base trait for futures that write things into AsyncWrites and can precompute the exact number of bytes to write.

Required Methods

Compute the exact number of bytes that will still be written by this future.

Implementors