Enum
Denial
#[non_exhaustive]
pub enum Denial {
OutsideRoots,
DenyRule,
ObjectLocation,
}Why an in-grant request was refused. Each variant renders one fixed, class-level message.
Variants
#OutsideRoots
The request lies outside every allow root that carries the capability,
or .. pops above its anchor.
#DenyRule
The request matches a deny rule of one of the origin’s scopes.
#ObjectLocation
The opened object (or a mutation’s target) is located in a denied subtree, or is a link / reparse point.
Methods
#pub const fn message(self) -> &'static str
The class-level message surfaced to the renderer.