pub enum ServerAuthenticationResponse {
Password(Bytes),
SaslInitial {
mechanism: Bytes,
response: Option<Bytes>,
},
Sasl(Bytes),
Token(Bytes),
}Expand description
Owned client response supplied to application authentication policy.
Variants§
Password(Bytes)
Cleartext or MD5 password response body.
SaslInitial
SASL mechanism selection and optional initial response.
Fields
Sasl(Bytes)
Recursive SASL response body.
Token(Bytes)
Kerberos, GSSAPI, or SSPI response token.
Trait Implementations§
Source§impl Clone for ServerAuthenticationResponse
impl Clone for ServerAuthenticationResponse
Source§fn clone(&self) -> ServerAuthenticationResponse
fn clone(&self) -> ServerAuthenticationResponse
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 Debug for ServerAuthenticationResponse
impl Debug for ServerAuthenticationResponse
impl Eq for ServerAuthenticationResponse
impl StructuralPartialEq for ServerAuthenticationResponse
Auto Trait Implementations§
impl !Freeze for ServerAuthenticationResponse
impl RefUnwindSafe for ServerAuthenticationResponse
impl Send for ServerAuthenticationResponse
impl Sync for ServerAuthenticationResponse
impl Unpin for ServerAuthenticationResponse
impl UnsafeUnpin for ServerAuthenticationResponse
impl UnwindSafe for ServerAuthenticationResponse
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