pub struct DenyAllPolicy { /* private fields */ }Expand description
Implementations§
Source§impl DenyAllPolicy
impl DenyAllPolicy
Trait Implementations§
Source§impl Clone for DenyAllPolicy
impl Clone for DenyAllPolicy
Source§fn clone(&self) -> DenyAllPolicy
fn clone(&self) -> DenyAllPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DenyAllPolicy
impl Debug for DenyAllPolicy
Source§impl Default for DenyAllPolicy
impl Default for DenyAllPolicy
Source§fn default() -> DenyAllPolicy
fn default() -> DenyAllPolicy
Returns the “default value” for a type. Read more
Source§impl PermissionPolicy for DenyAllPolicy
impl PermissionPolicy for DenyAllPolicy
Source§fn decide(&self, _request: &PermissionRequest) -> PolicyDecision
fn decide(&self, _request: &PermissionRequest) -> PolicyDecision
Decide how to handle a permission request. Read more
Source§fn supports_interaction(&self) -> bool
fn supports_interaction(&self) -> bool
Whether this policy supports interactive user questions. Read more
Auto Trait Implementations§
impl Freeze for DenyAllPolicy
impl RefUnwindSafe for DenyAllPolicy
impl Send for DenyAllPolicy
impl Sync for DenyAllPolicy
impl Unpin for DenyAllPolicy
impl UnwindSafe for DenyAllPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more