pub struct AllowAllSigning;Expand description
The permissive authorizer: every signature is allowed. Used for in-process/default sessions and for explicitly non-interactive (headless/automation) contexts.
Usage:
ⓘ
let auth = std::sync::Arc::new(AllowAllSigning);Trait Implementations§
Source§impl SignAuthorizer for AllowAllSigning
impl SignAuthorizer for AllowAllSigning
Returns true iff
peer is allowed to obtain a signature now. Read moreAuto Trait Implementations§
impl Freeze for AllowAllSigning
impl RefUnwindSafe for AllowAllSigning
impl Send for AllowAllSigning
impl Sync for AllowAllSigning
impl Unpin for AllowAllSigning
impl UnsafeUnpin for AllowAllSigning
impl UnwindSafe for AllowAllSigning
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