pub struct StaticKeyAuthenticationMethod<T> { /* private fields */ }
Expand description
Authenticaton method for a static secret key
Implementations§
Trait Implementations§
Source§impl<T> AuthenticationMethod for StaticKeyAuthenticationMethod<T>
impl<T> AuthenticationMethod for StaticKeyAuthenticationMethod<T>
Source§fn authenticate<'life0, 'life1, 'async_trait>(
&'life0 self,
authenticator: &'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,
authenticator: &'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<T: Clone> Clone for StaticKeyAuthenticationMethod<T>
impl<T: Clone> Clone for StaticKeyAuthenticationMethod<T>
Source§fn clone(&self) -> StaticKeyAuthenticationMethod<T>
fn clone(&self) -> StaticKeyAuthenticationMethod<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for StaticKeyAuthenticationMethod<T>where
T: Freeze,
impl<T> RefUnwindSafe for StaticKeyAuthenticationMethod<T>where
T: RefUnwindSafe,
impl<T> Send for StaticKeyAuthenticationMethod<T>where
T: Send,
impl<T> Sync for StaticKeyAuthenticationMethod<T>where
T: Sync,
impl<T> Unpin for StaticKeyAuthenticationMethod<T>where
T: Unpin,
impl<T> UnwindSafe for StaticKeyAuthenticationMethod<T>where
T: UnwindSafe,
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