Expand description
Structs§
- AsBox
- A wrapper that serializes a field into a box.
- AsOwned
- A wrapper that serializes a
Cow
as if it were owned. - AsString
- A wrapper that attempts to convert a type to and from UTF-8.
- AsVec
- A wrapper that serializes associative containers as a
Vec
of key-value pairs. - Atomic
- A wrapper that archives an atomic with an underlying atomic.
- Copy
Optimize - A wrapper that provides specialized, performant implementations of serialization and deserialization.
- Immutable
- A wrapper to make a type immutable.
- Inline
- A wrapper that serializes a reference inline.
- Lock
- A wrapper that locks a lock and serializes the value immutably.
- Map
- A generic wrapper that allows wrapping an Option
. - Niche
- A wrapper that niches some type combinations.
- Raw
- A wrapper that provides an optimized bulk data array. This is primarily intended for large amounts of raw data, like bytes, floats, or integers.
- RefAs
Box - A wrapper that serializes a reference as if it were boxed.
- Skip
- A wrapper that skips serializing a field.
- Unix
Timestamp - A wrapper that converts a
SystemTime
to aDuration
sinceUNIX_EPOCH
. - Unsafe
- A wrapper that allows serialize-unsafe types to be serialized.
- With
- A transparent wrapper for archived fields.
Enums§
- AsString
Error - Errors that can occur when serializing a
AsString
wrapper. - Lock
Error - Errors that can occur while serializing a
Lock
wrapper - Unix
Timestamp Error - Errors that can occur when serializing a
UnixTimestamp
wrapper.
Traits§
- Archive
With - A variant of
Archive
that works withWith
wrappers. - Deserialize
With - A variant of
Deserialize
that works withWith
wrappers. - Serialize
With - A variant of
Serialize
that works withWith
wrappers.
Type Aliases§
- Boxed
Deprecated - A wrapper that serializes a reference as if it were boxed.