pub struct Authorization<B, Fut>where
Fut: DefiningFuture<B>,{ /* private fields */ }
Expand description
Authorization middleware layer.
Implementations§
Source§impl<B, Fut> Authorization<B, Fut>where
Fut: DefiningFuture<B>,
impl<B, Fut> Authorization<B, Fut>where
Fut: DefiningFuture<B>,
Trait Implementations§
Source§impl<B, Fut> Clone for Authorization<B, Fut>where
Fut: DefiningFuture<B>,
impl<B, Fut> Clone for Authorization<B, Fut>where
Fut: DefiningFuture<B>,
Source§impl<B: Debug, Fut> Debug for Authorization<B, Fut>where
Fut: DefiningFuture<B> + Debug,
impl<B: Debug, Fut> Debug for Authorization<B, Fut>where
Fut: DefiningFuture<B> + Debug,
Source§impl<Svc, B, Fut> Layer<Svc> for Authorization<B, Fut>where
Svc: Clone,
Fut: DefiningFuture<B>,
impl<Svc, B, Fut> Layer<Svc> for Authorization<B, Fut>where
Svc: Clone,
Fut: DefiningFuture<B>,
Auto Trait Implementations§
impl<B, Fut> Freeze for Authorization<B, Fut>
impl<B, Fut> RefUnwindSafe for Authorization<B, Fut>
impl<B, Fut> Send for Authorization<B, Fut>
impl<B, Fut> Sync for Authorization<B, Fut>
impl<B, Fut> Unpin for Authorization<B, Fut>
impl<B, Fut> UnwindSafe for Authorization<B, Fut>
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