pub struct AuthenticationLayer { /* private fields */ }Implementations§
Source§impl AuthenticationLayer
impl AuthenticationLayer
pub fn new( service: Arc<Service>, options: AuthenticationOptions, ) -> Result<Self, TowerError>
Trait Implementations§
Source§impl Clone for AuthenticationLayer
impl Clone for AuthenticationLayer
Auto Trait Implementations§
impl !RefUnwindSafe for AuthenticationLayer
impl !UnwindSafe for AuthenticationLayer
impl Freeze for AuthenticationLayer
impl Send for AuthenticationLayer
impl Sync for AuthenticationLayer
impl Unpin for AuthenticationLayer
impl UnsafeUnpin for AuthenticationLayer
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