Crate async_serialization [] [src]

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

DeserializeError

An error that occured during deserialization.

Traits

AsyncDeserialize

A type whose values can be deserialized from an AsyncRead.

AsyncSerialize

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

AsyncSerializeLen

An AsyncSerialize that can precompute the exact number of bytes to write.

AsyncSerializeRef

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

AsyncSerializeRefLen

An AsyncSerializeRef that can precompute the exact number of bytes to write.

AsyncWriterFuture

Base trait for futures that write things into AsyncWrites.

AsyncWriterFutureLen

Base trait for futures that write things into AsyncWrites and can precompute the exact number of bytes to write.