Expand description
Serialization and deserialization -related logic.
Structs§
- BcsCodec
- A
StateCodec
that usesbcs
for all keys and values. - Borsh
Codec - A
StateCodec
that usesborsh
for all keys and values. - Json
Codec - A
StateCodec
that usesserde_json
for all keys and values.
Traits§
- Encode
KeyLike - A trait for codecs which know how to serialize a type
Ref
as 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.