Menu

Enum

PermissionDecision

kurogane::PermissionDecisionSource
#[non_exhaustive] pub enum PermissionDecision { Default, Allow, Deny, Later, }

The answer of App::on_permission.

Variants

#Default

Kurogane’s policy (Deny).

#Allow

Grants everything the request asks for.

#Deny

Grants nothing.

#Later

The PermissionResponder the hook took with PermissionRequest::responder answers later; the page waits until then. Without a responder kept, the request is denied at once.

Trait implementations