Expand description
Serialization and deserialization -related logic.
Structs§
- BcsCodec
- A
StateCodecthat usesbcsfor all keys and values. - Borsh
Codec - A
StateCodecthat usesborshfor all keys and values. - Json
Codec - A
StateCodecthat usesserde_jsonfor all keys and values.
Traits§
- Encode
KeyLike - A trait for codecs which know how to serialize a type
Refas if it were some other typeTarget. - State
Codec - A trait for types that can serialize keys and values, as well as deserializing values for storage access.
- State
KeyCodec - A trait for types that can serialize keys for storage access.
- State
Value Codec - A trait for types that can serialize and deserialize values for storage access.