pub struct DenyAllAuthorizer;Expand description
Authorizer that rejects every link with RejectReason::Banned.
Intended for tests and negative-path bring-up — verifies the
shell honors an authorizer rejection (no handle created, NAK on
the wire, ClientRejected event emitted).
Trait Implementations§
Source§impl ClientAuthorizer for DenyAllAuthorizer
impl ClientAuthorizer for DenyAllAuthorizer
Called when a new client attempts to link. Read more
Source§impl Clone for DenyAllAuthorizer
impl Clone for DenyAllAuthorizer
Source§fn clone(&self) -> DenyAllAuthorizer
fn clone(&self) -> DenyAllAuthorizer
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 DenyAllAuthorizer
impl Debug for DenyAllAuthorizer
Source§impl Default for DenyAllAuthorizer
impl Default for DenyAllAuthorizer
Source§fn default() -> DenyAllAuthorizer
fn default() -> DenyAllAuthorizer
Returns the “default value” for a type. Read more
impl Copy for DenyAllAuthorizer
Auto Trait Implementations§
impl Freeze for DenyAllAuthorizer
impl RefUnwindSafe for DenyAllAuthorizer
impl Send for DenyAllAuthorizer
impl Sync for DenyAllAuthorizer
impl Unpin for DenyAllAuthorizer
impl UnwindSafe for DenyAllAuthorizer
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