Trait async_serialization::AsyncSerializeRef [] [src]

pub trait AsyncSerializeRef<'val, W: AsyncWrite>: AsyncWriterFuture<W> {
    type Serialized;
    fn from_ref(writer: W, val: &'val Self::Serialized) -> Self;
}
Deprecated

A future that asynchronously serializes something by reference into a wrapped AsyncWrite.

Associated Types

Deprecated

The type of values serialized.

Required Methods

Deprecated

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

Implementors