Enum envelope::Reason
zaun_community_protocol::envelope::Reason · Enum
pub enum Reason { … }FORBIDDEN and CONFLICT reasons.
Variants
Section titled “Variants”Hierarchy
Section titled “Hierarchy”FORBIDDEN: a management-hierarchy check failed.
Probation
Section titled “Probation”FORBIDDEN: newcomer restrictions (probation, waiting period).
Lockdown
Section titled “Lockdown”FORBIDDEN: an emergency lockdown restriction.
RequestIdReused
Section titled “RequestIdReused”CONFLICT: a request_id reused with another type or body.
AlreadyMember
Section titled “AlreadyMember”CONFLICT: already a member.
AlreadyHosted
Section titled “AlreadyHosted”CONFLICT: the community is already hosted.
OwnerCannotLeave
Section titled “OwnerCannotLeave”CONFLICT: the owner cannot leave.
StaleRevision
Section titled “StaleRevision”CONFLICT: a signed object’s revision is stale.
AlreadyBound
Section titled “AlreadyBound”CONFLICT: the connection is already bound.
LimitReached
Section titled “LimitReached”CONFLICT: a count limit was reached.
InvalidState
Section titled “InvalidState”CONFLICT: the subject is in a state the command does not apply to (suspending a
pending member, restoring one that is not suspended, reviewing a closed report).
Ceiling
Section titled “Ceiling”FORBIDDEN: grants beyond the operator’s ceiling or the manifest’s request.
Publisher
Section titled “Publisher”FORBIDDEN: a bot update signed by another publisher.
AlreadyInstalled
Section titled “AlreadyInstalled”CONFLICT: the bot’s app_id is installed already.
DmsClosed
Section titled “DmsClosed”FORBIDDEN: the member does not take direct messages from bots, or closed this one.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Deserialize<'de>, Eq, Hash, PartialEq, Serialize, StructuralPartialEq