Trait async_serialization::AsyncDeserialize [] [src]

pub trait AsyncDeserialize<R: AsyncRead, S, E>: Future<Item = (R, S, usize), Error = (R, DeserializeError<E>)> {
    fn from_reader(reader: R) -> Self;
fn already_read(&self) -> usize; }
Deprecated

A future that asynchronously serializes something from a wrapped AsyncRead and then returns the wrapped AsyncRead, the deserialized value, and how many bytes were read.

Required Methods

Deprecated

Consume a reader to create an AsyncDeserialize.

Deprecated

Return how many bytes have already been read.

Implementors