Skip to content

Enum permissions::Refusal

zaun_community_protocol::permissions::Refusal · Enum

pub enum Refusal { … }

Every way a pure check can refuse a command.

FORBIDDEN, or TIMED_OUT (see Denial::error_code).

BAD_REQUEST.

CONFLICT.

NOT_FOUND (a listed role does not exist).

pub const fn error_code(&self) -> ErrorCode

The response code.

Clone, Copy, Debug, Eq, From<Denial>, From<Invalid>, Hash, PartialEq, StructuralPartialEq

Full rustdoc page