Enum client::WelcomeError
zaun_community_protocol::client::WelcomeError · Enum
pub enum WelcomeError { … }Why a session.welcome was rejected.
Variants
Section titled “Variants”Malformed
Section titled “Malformed”The welcome body is not a valid session.welcome.
Version { version, offered }
Section titled “Version { version, offered }”The negotiated version is outside the range this client offered.
The host key or id is not the expected host.
HostId
Section titled “HostId”The welcome’s host_id does not derive from its host_public_key.
MissingCommunity
Section titled “MissingCommunity”A community was expected but the welcome carries no descriptor, delegation or proof naming it.
Binding
Section titled “Binding”The welcome binds the connection to another community.
Pair(ValidityError)
Section titled “Pair(ValidityError)”The descriptor/delegation pair is not valid.
Delegation
Section titled “Delegation”The delegation does not name this host or lacks OPERATE.
ChainIncomplete
Section titled “ChainIncomplete”The rotation chain is longer than the client knows; fetch community.rotations.
Proof(SessionProofError)
Section titled “Proof(SessionProofError)”The host session proof failed.
Challenge
Section titled “Challenge”The proof’s challenge differs from the welcome’s.
Refused
Section titled “Refused”The host answered session.hello with an error (for example UNSUPPORTED_VERSION).
Trait implementations
Section titled “Trait implementations”Clone, Debug, Display, Eq, Error, From<SessionProofError>, From<ValidityError>, PartialEq, StructuralPartialEq