Enum
PermissionDecision
#[non_exhaustive]
pub enum PermissionDecision {
Default,
Allow,
Deny,
Later,
}The answer of App::on_permission.
Variants
#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
impl Clone for PermissionDecisionimpl Copy for PermissionDecisionimpl Debug for PermissionDecisionimpl Default for PermissionDecisionimpl Eq for PermissionDecisionimpl PartialEq for PermissionDecision