Enum permissions::ConflictReason
zaun_community_protocol::permissions::ConflictReason · Enum
pub enum ConflictReason { … }Why a state transition does not apply (CONFLICT).
Variants
Section titled “Variants”AlreadyMember
Section titled “AlreadyMember”The target is already an admitted member (already_member).
WrongState
Section titled “WrongState”The target is in another state the command does not apply to (invalid_state).
Methods
Section titled “Methods”pub const fn wire(self) -> Option<&'static str>The reason string of a CONFLICT body: already_member or
invalid_state.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Eq, Hash, PartialEq, StructuralPartialEq