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 AsyncWrite
s and can precompute the exact number
of bytes to write.
Required Methods
fn remaining_bytes(&self) -> usize
Deprecated
Compute the exact number of bytes that will still be written by this future.