Trait async_serialization::AsyncWriterFuture
[−]
[src]
pub trait AsyncWriterFuture<W: AsyncWrite>: Future<Item = (W, usize), Error = (W, FutIoErr)> { fn already_written(&self) -> usize; }
Deprecated
Base trait for futures that write things into AsyncWrite
s.
The future must yield a previously wrapped AsyncWrite
, and the number of written bytes.
If there's an error upon writing, the wrapped AsyncWrite
is emitted together with the error.