Crate diny_core[][src]

Expand description

The core functionality of the diny framework.

See the main diny documentation for project status and general usage

Re-exports

pub use deserializer::deserializer;
pub use deserializer::Deserialize;
pub use deserializer::Deserializer;
pub use serializer::serializer;
pub use serializer::Serialize;
pub use serializer::Serializer;

Modules

Types and traits implemented by backend formatters

Helper modules for implementing buffered serialization primitives

Types used to support deserialization streams

Re-export of io related structures

Types used to suport serialization sinks

Helper modules that may be externally useful

Macros

Starts decoding by calling the $dec expression, and converts the result to a PollDecodeStatus

Continues decoding by first polling the $dec expression, and then calling the $chain closure with any resulting data, and finally converts the result to a PollDecodeStatus

Finalizes decoding by polling the $dec expression, converts the final data by calling the $fini closure, and finally converts the result to a PollDecodeStatus

Starts encoding by calling the $enc expression, and converts the result to a PollEncodeStatus

Continues encoding by first polling the $enc expression, and then calling the $chain expression, and finally converts the result to a PollEncodeStatus

Finalizes encoding by polling the $enc expression, and converts the result to a PollEncodeStatus

Traits

Deserialize a data structure asynchronously.

Marker trait to denote that both AsyncSerialize and AsyncDeserialize are implemented for the type.

Serialize a data structure asynchronously.

Derive Macros

Generate only async deserialization code

Generate both async serialization and deserialization code

Generate only async serialization code