Skip to content

Enum framing::EncodeError

zaun_community_protocol::framing::EncodeError · Enum

pub enum EncodeError { … }

Why an envelope cannot be framed.

The envelope JSON exceeds max_frame.

The envelope needs more than MAX_FRAGMENTS fragments at this budget.

The budget cannot hold a fragment header plus one character.

Clone, Copy, Debug, Display, Eq, Error, From<EncodeError>, PartialEq, StructuralPartialEq

Full rustdoc page