pub struct ApproveAllHandler;Expand description
A PermissionHandler that approves every request. Useful for CLI
tools, scripts, and tests that don’t need interactive permission
prompts.
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