pub trait Encoding {
type EncodeError: Display;
type DecodeError: Display;
}Required Associated Types§
Sourcetype EncodeError: Display
type EncodeError: Display
The error type returned when encoding fails.
Sourcetype DecodeError: Display
type DecodeError: Display
The error type returned when decoding fails.