pub struct ApproveAllHandler;Expand description
A PermissionHandler that approves ordinary requests when managed settings are disabled.
When managed settings are enabled, the handler logs an error and returns a user-not-available decision. As a defense-in-depth fallback, a request marked as requiring managed approval is left unanswered even if the session flag is absent.
Trait Implementations§
Source§impl Clone for ApproveAllHandler
impl Clone for ApproveAllHandler
Source§fn clone(&self) -> ApproveAllHandler
fn clone(&self) -> ApproveAllHandler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApproveAllHandler
impl Debug for ApproveAllHandler
Auto Trait Implementations§
impl Freeze for ApproveAllHandler
impl RefUnwindSafe for ApproveAllHandler
impl Send for ApproveAllHandler
impl Sync for ApproveAllHandler
impl Unpin for ApproveAllHandler
impl UnsafeUnpin for ApproveAllHandler
impl UnwindSafe for ApproveAllHandler
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