Skip to content

Enum envelope::BatchError

zaun_community_protocol::envelope::BatchError · Enum

pub enum BatchError { … }

A batch that breaks the rules of the protocol Indices count from 0 in body.events.

Not JSON, not an object, type is not events, or body.events is missing.

An element is not a valid the protocol event envelope.

An element is itself a batch or a response; batches do not nest.

An element’s community_id or v differs from the batch’s.

Clone, Copy, Debug, Display, Eq, Error, PartialEq, StructuralPartialEq

Full rustdoc page