Skip to content

Enum permissions::ConflictReason

zaun_community_protocol::permissions::ConflictReason · Enum

pub enum ConflictReason { … }

Why a state transition does not apply (CONFLICT).

The target is already an admitted member (already_member).

The target is in another state the command does not apply to (invalid_state).

pub const fn wire(self) -> Option<&'static str>

The reason string of a CONFLICT body: already_member or invalid_state.

Clone, Copy, Debug, Eq, Hash, PartialEq, StructuralPartialEq

Full rustdoc page