Crate musli_core

Crate musli_core 

Source
Expand description

github crates.io docs.rs

Core traits for Müsli.

Re-exports§

pub use self::de::Decode;
pub use self::en::Encode;

Modules§

alloc
Müsli Rust core allocation and collections library
de
Traits for generically dealing with a decoding framework.
en
Traits for generically dealing with an encoding framework.
hint
Core encoding hints.
mode
Type that describe a mode of encoding.

Traits§

Allocator
An allocator that can be used in combination with a context.
Context
Provides ergonomic access to the serialization context.
Decode
Trait governing how types are decoded.
Decoder
Trait governing how decoding is implemented for a given format.
Encode
Trait governing how types are encoded.
Encoder
Trait governing how encoding is implemented for a given format.

Attribute Macros§

trait_defaults
This is an attribute macro that must be used when implementing the following traits:

Derive Macros§

Decode
Derive which automatically implements the Decode trait.
Encode
Derive which automatically implements the Encode trait.