Enum s2n_tls::enums::ClientAuthType
source · #[non_exhaustive]pub enum ClientAuthType {
Required,
Optional,
None,
}
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.
Trait Implementations§
source§impl Clone for ClientAuthType
impl Clone for ClientAuthType
source§fn clone(&self) -> ClientAuthType
fn clone(&self) -> ClientAuthType
Returns a copy 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 ClientAuthType
impl Debug for ClientAuthType
source§impl From<ClientAuthType> for Type
impl From<ClientAuthType> for Type
source§fn from(input: ClientAuthType) -> Type
fn from(input: ClientAuthType) -> Type
Converts to this type from the input type.
source§impl PartialEq for ClientAuthType
impl PartialEq for ClientAuthType
source§fn eq(&self, other: &ClientAuthType) -> bool
fn eq(&self, other: &ClientAuthType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ClientAuthType
impl StructuralPartialEq for ClientAuthType
Auto Trait Implementations§
impl Freeze for ClientAuthType
impl RefUnwindSafe for ClientAuthType
impl Send for ClientAuthType
impl Sync for ClientAuthType
impl Unpin for ClientAuthType
impl UnwindSafe for ClientAuthType
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