Expand description
Global configuration for wincode.
This module provides configuration types and structs for configuring wincode’s behavior.
See Configuration for more details on how to configure wincode.
Additionally, this module provides traits and functions that mirror the serialization, deserialization, and zero-copy traits and functions from the crate root, but with an additional configuration parameter.
Structs§
- Configuration
- Compile-time configuration for runtime behavior.
Constants§
Traits§
- Config
- Trait for configuration access when you need access to type parameters that depend on
Config(e.g.,Config::LengthEncoding). - Config
Core - Trait for accessing configuration values when only the constant knobs are needed
(e.g.,
PREALLOCATION_SIZE_LIMIT,ZERO_COPY_ALIGN_CHECK). - Deserialize
- Like
crate::Deserialize, but allows the caller to provide a custom configuration. - Deserialize
Owned - Like
crate::DeserializeOwned, but allows the caller to provide a custom configuration. - Serialize
- Like
crate::Serialize, but allows the caller to provide a custom configuration. - Zero
Copy - Marker trait for types that can be deserialized via direct borrows from a
Reader.
Functions§
- deserialize
- Like
crate::deserialize, but allows the caller to provide a custom configuration. - deserialize_
exact - Like
crate::deserialize_exact, but with a custom configuration. - deserialize_
from - Like
crate::deserialize_from, but allows the caller to provide a custom configuration. - deserialize_
mut - Like
crate::deserialize_mut, but allows the caller to provide a custom configuration. - deserialize_
with_ context - Like
crate::deserialize_with_context, but allows the caller to provide a custom configuration. - serialize
- Like
crate::serialize, but allows the caller to provide a custom configuration. - serialize_
into - Like
crate::serialize_into, but allows the caller to provide a custom configuration. - serialized_
size - Like
crate::serialized_size, but allows the caller to provide a custom configuration.