Module rkyv::with[][src]

Expand description

Wrapper type support and commonly used wrappers.

Wrappers can be applied with the #[with(...)] attribute in the Archive macro. See With for examples.

Structs

A wrapper that serializes a Cow as if it were owned.

A wrapper that attempts to convert a type to and from UTF-8.

A wrapper that serializes associative containers as a Vec of key-value pairs.

A wrapper that archives an atomic with an underlying atomic.

A wrapper that serializes a reference as if it were boxed.

A wrapper to make a type immutable.

A wrapper that serializes a reference inline.

A wrapper that locks a lock and serializes the value immutably.

A transparent wrapper for archived fields.

Enums

Errors that can occur when serializing a AsString wrapper.

Errors that can occur while serializing a Lock wrapper

Traits

A variant of Archive that works with With wrappers.

A variant of Deserialize that works with With wrappers.

A variant of Serialize that works with With wrappers.