Skip to content

Enum client::ClientError

zaun_community_protocol::client::ClientError · Enum

pub enum ClientError { … }

A command could not be prepared or the session refuses to send it.

The body breaks a state-free rule; nothing was sent.

The body or envelope failed to serialise (never expected for this crate’s types).

The envelope exceeds its size limit or cannot be framed.

The envelope exceeds the command limit for its type.

The OS random number generator failed.

No verified session.welcome yet: call super::Session::hello and wait.

The welcome failed verification; the session MUST NOT send commands.

community_id differs from the session’s binding.

super::Session::send_signal with a non-signal body, or send with a signal.

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

Full rustdoc page