Trait async_serialization::AsyncWriterFutureLen [] [src]

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

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

Required Methods

Deprecated

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

Implementors