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§
- backend
- Types and traits implemented by backend formatters
- buffer
- Helper modules for implementing buffered serialization primitives
- deserializer
- Types used to support deserialization streams
- io
- Re-export of io related structures
- serializer
- Types used to suport serialization sinks
- util
- Helper modules that may be externally useful
Macros§
- decode_
chain - Starts decoding by calling the
$dec
expression, and converts the result to a PollDecodeStatus - decode_
poll_ chain - 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 - decode_
poll_ fini - Finalizes decoding by polling the
$dec
expression, converts the final data by calling the$fini
closure, and finally converts the result to a PollDecodeStatus - encode_
chain - Starts encoding by calling the
$enc
expression, and converts the result to a PollEncodeStatus - encode_
poll_ chain - Continues encoding by first polling the
$enc
expression, and then calling the$chain
expression, and finally converts the result to a PollEncodeStatus - encode_
poll_ fini - Finalizes encoding by polling the
$enc
expression, and converts the result to a PollEncodeStatus
Traits§
- Async
Deserialize - Deserialize a data structure asynchronously.
- Async
Serialization - Marker trait to denote that both AsyncSerialize and AsyncDeserialize are implemented for the type.
- Async
Serialize - Serialize a data structure asynchronously.
Derive Macros§
- Async
Deserialize derive
- Generate only async deserialization code
- Async
Serialization derive
- Generate both async serialization and deserialization code
- Async
Serialize derive
- Generate only async serialization code