Struct distant_auth::NoneAuthenticationMethod
source · pub struct NoneAuthenticationMethod;Expand description
Authenticaton method for a static secret key
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 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