A trait that enables a type to convert itself into a
sequence of bytes.
Required Associated Types§
The error type that can be produced by either serialization or deserialization.
Required Associated Constants§
The size of the key, if constant. If this type doesn’t produce the same
number of bytes for each value, this should be
self into a
Cow<[u8]> containing bytes that are able to be
memcmp in a way that is comptaible with its own Ord