Trait mesh::payload::DefaultEncoding
source · pub trait DefaultEncoding {
type Encoding;
}
Expand description
Associates the default encoder/decoder type for converting an object to/from protobuf format.
Required Associated Types§
sourcetype Encoding
type Encoding
The encoding to use for the serialization.
This type may or may not implement and of the four traits
(MessageEncode
, MessageDecode
, FieldEncode
, FieldDecode
,
since a type may only be serializable and not deserializable, for
example.