#[non_exhaustive]pub enum ClientAuthenticationResponse {
Password(Bytes),
SaslInitial {
mechanism: Bytes,
response: Bytes,
},
Sasl(Bytes),
Token(Bytes),
Verified,
}Expand description
An application authentication policy’s wire response.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Password(Bytes)
Send a cleartext or precomputed MD5 password.
SaslInitial
Begin SASL using the named mechanism and initial response.
Fields
Sasl(Bytes)
Continue a SASL exchange.
Token(Bytes)
Send an opaque GSS, SSPI, or Kerberos token.
Verified
Accept a verified SASL final message without sending another frame.
Trait Implementations§
Source§impl Clone for ClientAuthenticationResponse
impl Clone for ClientAuthenticationResponse
Source§fn clone(&self) -> ClientAuthenticationResponse
fn clone(&self) -> ClientAuthenticationResponse
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 ClientAuthenticationResponse
impl Debug for ClientAuthenticationResponse
impl Eq for ClientAuthenticationResponse
impl StructuralPartialEq for ClientAuthenticationResponse
Auto Trait Implementations§
impl !Freeze for ClientAuthenticationResponse
impl RefUnwindSafe for ClientAuthenticationResponse
impl Send for ClientAuthenticationResponse
impl Sync for ClientAuthenticationResponse
impl Unpin for ClientAuthenticationResponse
impl UnsafeUnpin for ClientAuthenticationResponse
impl UnwindSafe for ClientAuthenticationResponse
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