Enum framing::EncodeError
zaun_community_protocol::framing::EncodeError · Enum
pub enum EncodeError { … }Why an envelope cannot be framed.
Variants
Section titled “Variants”TooLarge { len, max }
Section titled “TooLarge { len, max }”The envelope JSON exceeds max_frame.
TooManyFragments { max }
Section titled “TooManyFragments { max }”The envelope needs more than MAX_FRAGMENTS fragments at this budget.
BudgetTooSmall { budget, min }
Section titled “BudgetTooSmall { budget, min }”The budget cannot hold a fragment header plus one character.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Display, Eq, Error, From<EncodeError>, PartialEq, StructuralPartialEq