pub struct AuthorizationLayer<C, A> { /* private fields */ }Expand description
Tower layer that denies requests unless the checker explicitly allows them.
Implementations§
Source§impl<C, A> AuthorizationLayer<C, A>
impl<C, A> AuthorizationLayer<C, A>
Trait Implementations§
Auto Trait Implementations§
impl<C, A> Freeze for AuthorizationLayer<C, A>
impl<C, A> RefUnwindSafe for AuthorizationLayer<C, A>where
C: RefUnwindSafe,
A: RefUnwindSafe,
impl<C, A> Send for AuthorizationLayer<C, A>
impl<C, A> Sync for AuthorizationLayer<C, A>
impl<C, A> Unpin for AuthorizationLayer<C, A>
impl<C, A> UnsafeUnpin for AuthorizationLayer<C, A>
impl<C, A> UnwindSafe for AuthorizationLayer<C, A>where
C: RefUnwindSafe,
A: RefUnwindSafe,
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