Trait async_serialization::AsyncSerialize [] [src]

pub trait AsyncSerialize<W: AsyncWrite>: AsyncWriterFuture<W> {
    type Serialized;
    fn from_val(writer: W, val: Self::Serialized) -> Self;
}
Deprecated

A future that asynchronously serializes something into a wrapped AsyncWrite and then returns the wrapped AsyncWrite and how many bytes were written.

Associated Types

Deprecated

The type of values serialized.

Required Methods

Deprecated

Create a new instance, consuming the value to serialize and wrapping the AsyncWrite to serialize into.

Implementors