pub struct NoneAuthenticationMethod;
Expand description
Authenticaton method that skips authentication and approves anything.
Implementations§
Trait Implementations§
Source§impl AuthenticationMethod for NoneAuthenticationMethod
impl AuthenticationMethod for NoneAuthenticationMethod
Source§fn authenticate<'life0, 'life1, 'async_trait>(
&'life0 self,
_: &'life1 mut dyn Authenticator,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn authenticate<'life0, 'life1, 'async_trait>(
&'life0 self,
_: &'life1 mut dyn Authenticator,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Performs authentication using the
authenticator
to submit challenges and other
information based on the authentication methodSource§impl Clone for NoneAuthenticationMethod
impl Clone for NoneAuthenticationMethod
Source§fn clone(&self) -> NoneAuthenticationMethod
fn clone(&self) -> NoneAuthenticationMethod
Returns a copy 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 NoneAuthenticationMethod
impl Debug for NoneAuthenticationMethod
Auto Trait Implementations§
impl Freeze for NoneAuthenticationMethod
impl RefUnwindSafe for NoneAuthenticationMethod
impl Send for NoneAuthenticationMethod
impl Sync for NoneAuthenticationMethod
impl Unpin for NoneAuthenticationMethod
impl UnwindSafe for NoneAuthenticationMethod
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