Skip to content

Enum permissions::DenialReason

zaun_community_protocol::permissions::DenialReason · Enum

pub enum DenialReason { … }

Why a permission check failed, when a specific rule caused it (permissions the protocol).

H1, H2 or H4 (the management hierarchy).

Step 7b: probation newcomer mask or the waiting period.

Step 7c: an active emergency lockdown.

Step 7d: the channel locked flag.

Step 7a: the member is timed out.

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

The reason string of a FORBIDDEN body, if any.

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

Full rustdoc page