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
Source§fn clone(&self) -> AuthenticationLayer
fn clone(&self) -> AuthenticationLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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