pub struct StaticKeyAuthenticationMethod<T> { /* private fields */ }Expand description
Authenticaton method for a static secret key
Implementations§
source§impl<T> StaticKeyAuthenticationMethod<T>
impl<T> StaticKeyAuthenticationMethod<T>
Trait Implementations§
source§impl<T> AuthenticationMethod for StaticKeyAuthenticationMethod<T>where
T: FromStr + PartialEq + Send + Sync,
impl<T> AuthenticationMethod for StaticKeyAuthenticationMethod<T>where T: FromStr + PartialEq + Send + Sync,
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> 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