#[non_exhaustive]pub enum Authenticator {
PasswordAuthenticator(PasswordAuthenticator),
CertificateAuthenticator(CertificateAuthenticator),
}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.
PasswordAuthenticator(PasswordAuthenticator)
CertificateAuthenticator(CertificateAuthenticator)
Trait Implementations§
Source§impl Clone for Authenticator
impl Clone for Authenticator
Source§fn clone(&self) -> Authenticator
fn clone(&self) -> Authenticator
Returns a duplicate 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 moreSource§impl Debug for Authenticator
impl Debug for Authenticator
Source§impl From<CertificateAuthenticator> for Authenticator
impl From<CertificateAuthenticator> for Authenticator
Source§fn from(value: CertificateAuthenticator) -> Self
fn from(value: CertificateAuthenticator) -> Self
Converts to this type from the input type.
Source§impl From<PasswordAuthenticator> for Authenticator
impl From<PasswordAuthenticator> for Authenticator
Source§fn from(value: PasswordAuthenticator) -> Self
fn from(value: PasswordAuthenticator) -> Self
Converts to this type from the input type.
Source§impl Hash for Authenticator
impl Hash for Authenticator
Source§impl PartialEq for Authenticator
impl PartialEq for Authenticator
impl StructuralPartialEq for Authenticator
Auto Trait Implementations§
impl Freeze for Authenticator
impl RefUnwindSafe for Authenticator
impl Send for Authenticator
impl Sync for Authenticator
impl Unpin for Authenticator
impl UnwindSafe for Authenticator
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