pub struct StaticMd5ServerCredentialSession { /* private fields */ }Expand description
Isolated MD5 exchange for one connection.
Trait Implementations§
Source§impl Clone for StaticMd5ServerCredentialSession
impl Clone for StaticMd5ServerCredentialSession
Source§fn clone(&self) -> StaticMd5ServerCredentialSession
fn clone(&self) -> StaticMd5ServerCredentialSession
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 moreSource§impl<Peer> ServerAuthentication<Peer> for StaticMd5ServerCredentialSession
impl<Peer> ServerAuthentication<Peer> for StaticMd5ServerCredentialSession
Source§type Error = StaticCredentialError
type Error = StaticCredentialError
Application-defined authentication failure.
Source§async fn start(
&mut self,
_: ServerAuthenticationRequest<'_, Peer>,
) -> Result<ServerAuthenticationAction<()>, Self::Error>
async fn start( &mut self, _: ServerAuthenticationRequest<'_, Peer>, ) -> Result<ServerAuthenticationAction<()>, Self::Error>
Starts the application-driven authentication conversation.
Source§async fn respond(
&mut self,
_: ServerAuthenticationRequest<'_, Peer>,
response: ServerAuthenticationResponse,
) -> Result<ServerAuthenticationAction<()>, Self::Error>
async fn respond( &mut self, _: ServerAuthenticationRequest<'_, Peer>, response: ServerAuthenticationResponse, ) -> Result<ServerAuthenticationAction<()>, Self::Error>
Advances the conversation after one protocol response.
Auto Trait Implementations§
impl !Freeze for StaticMd5ServerCredentialSession
impl RefUnwindSafe for StaticMd5ServerCredentialSession
impl Send for StaticMd5ServerCredentialSession
impl Sync for StaticMd5ServerCredentialSession
impl Unpin for StaticMd5ServerCredentialSession
impl UnsafeUnpin for StaticMd5ServerCredentialSession
impl UnwindSafe for StaticMd5ServerCredentialSession
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