Crate async_serialization

Source
👎Deprecated: This was a failed attempt at finding a suitable abstraction. The async-codec crate might be what you need instead.
Expand description

Traits for types that can be asynchronously serialized into AsyncWrites and deserialized from AsyncReads. Unlike serde’s approach, the serialized data does not need to be in memory at once, and it saves a step of copying.

Enums§

DeserializeErrorDeprecated
An error that occured during deserialization.

Traits§

AsyncDeserializeDeprecated
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.
AsyncSerializeDeprecated
A future that asynchronously serializes something into a wrapped AsyncWrite and then returns the wrapped AsyncWrite and how many bytes were written.
AsyncSerializeLenDeprecated
An AsyncSerialize that can precompute the exact number of bytes to write.
AsyncSerializeRefDeprecated
A future that asynchronously serializes something by reference into a wrapped AsyncWrite.
AsyncSerializeRefLenDeprecated
An AsyncSerializeRef that can precompute the exact number of bytes to write.
AsyncWriterFutureDeprecated
Base trait for futures that write things into AsyncWrites.
AsyncWriterFutureLenDeprecated
Base trait for futures that write things into AsyncWrites and can precompute the exact number of bytes to write.