Enum encoding::EncodeError
zaun_community_protocol::encoding::EncodeError · Enum
pub enum EncodeError { … }A value cannot be encoded canonically: it would not decode.
Variants
Section titled “Variants”OverLimit { len, max }
Section titled “OverLimit { len, max }”A length or count above the field’s limit.
Invalid(&'static str)
Section titled “Invalid(&'static str)”A field breaks a rule of its object (the field name).
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Display, Eq, Error, From<EncodeError>, PartialEq, StructuralPartialEq