pub struct TrustClientAuthentication;Expand description
Explicit client authentication policy which accepts only AuthenticationOk.
Trait Implementations§
Source§impl ClientAuthentication for TrustClientAuthentication
impl ClientAuthentication for TrustClientAuthentication
Source§type Session = TrustClientAuthentication
type Session = TrustClientAuthentication
Per-connection mutable authentication state.
Source§type Error = Infallible
type Error = Infallible
Application authentication failure.
Source§impl ClientAuthenticationSession for TrustClientAuthentication
impl ClientAuthenticationSession for TrustClientAuthentication
Source§type Error = Infallible
type Error = Infallible
Application authentication failure.
Source§fn respond(
&mut self,
_challenge: ClientAuthenticationChallenge,
) -> ClientAuthenticationFuture<'_, ClientAuthenticationResponse, Self::Error>
fn respond( &mut self, _challenge: ClientAuthenticationChallenge, ) -> ClientAuthenticationFuture<'_, ClientAuthenticationResponse, Self::Error>
Answers one server authentication challenge.
Source§impl Clone for TrustClientAuthentication
impl Clone for TrustClientAuthentication
Source§fn clone(&self) -> TrustClientAuthentication
fn clone(&self) -> TrustClientAuthentication
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 moreimpl Copy for TrustClientAuthentication
Source§impl Debug for TrustClientAuthentication
impl Debug for TrustClientAuthentication
Source§impl Default for TrustClientAuthentication
impl Default for TrustClientAuthentication
Source§fn default() -> TrustClientAuthentication
fn default() -> TrustClientAuthentication
Returns the “default value” for a type. Read more
impl Eq for TrustClientAuthentication
impl StructuralPartialEq for TrustClientAuthentication
Auto Trait Implementations§
impl Freeze for TrustClientAuthentication
impl RefUnwindSafe for TrustClientAuthentication
impl Send for TrustClientAuthentication
impl Sync for TrustClientAuthentication
impl Unpin for TrustClientAuthentication
impl UnsafeUnpin for TrustClientAuthentication
impl UnwindSafe for TrustClientAuthentication
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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