#[non_exhaustive]pub enum ClientAuthType {
Required,
Optional,
None,
}Expand description
Corresponds to s2n_cert_auth_type.
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 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 moreimpl Copy for ClientAuthType
Source§impl Debug for ClientAuthType
impl Debug for ClientAuthType
Source§impl PartialEq for ClientAuthType
impl PartialEq for ClientAuthType
Source§fn eq(&self, other: &ClientAuthType) -> bool
fn eq(&self, other: &ClientAuthType) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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