Skip to content

Enum client::ProtocolError

zaun_community_protocol::client::ProtocolError · Enum

pub enum ProtocolError { … }

Input ignored safely.

Text without the zaun: prefix.

An unknown frame prefix (zaun:2: …).

A malformed fragment header.

A fragment reassembly was discarded.

An envelope above max_frame.

Not a valid response, event or batch envelope.

A batch inside a batch, or a batch element for another community.

An event whose v is not the negotiated version (dropped, the protocol).

An event for another community than the session’s.

A known event type with a malformed body; its cursor still advances.

An error response with request_id: null.

An event before a verified welcome or after a failed one (dropped).

A binding response names another community than the one requested; not bound.

An automatic sync.resume or sync.ack could not be prepared.

Clone, Debug, Eq, PartialEq, StructuralPartialEq

Full rustdoc page