Skip to content

Enum client::WelcomeError

zaun_community_protocol::client::WelcomeError · Enum

pub enum WelcomeError { … }

Why a session.welcome was rejected.

The welcome body is not a valid session.welcome.

The negotiated version is outside the range this client offered.

The host key or id is not the expected host.

The welcome’s host_id does not derive from its host_public_key.

A community was expected but the welcome carries no descriptor, delegation or proof naming it.

The welcome binds the connection to another community.

The descriptor/delegation pair is not valid.

The delegation does not name this host or lacks OPERATE.

The rotation chain is longer than the client knows; fetch community.rotations.

The host session proof failed.

The proof’s challenge differs from the welcome’s.

The host answered session.hello with an error (for example UNSUPPORTED_VERSION).

Clone, Debug, Display, Eq, Error, From<SessionProofError>, From<ValidityError>, PartialEq, StructuralPartialEq

Full rustdoc page