#[non_exhaustive]pub enum TlsKeyType {
Rsa,
Curve25519,
EcP256,
EcP384,
EcP521,
BrainpoolP256,
BrainpoolP384,
BrainpoolP512,
}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 TlsKeyType
impl Clone for TlsKeyType
Source§fn clone(&self) -> TlsKeyType
fn clone(&self) -> TlsKeyType
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 TlsKeyType
impl Debug for TlsKeyType
Source§impl Default for TlsKeyType
impl Default for TlsKeyType
Source§fn default() -> TlsKeyType
fn default() -> TlsKeyType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TlsKeyType
impl<'de> Deserialize<'de> for TlsKeyType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TlsKeyType
impl Display for TlsKeyType
Source§impl Hash for TlsKeyType
impl Hash for TlsKeyType
Source§impl Ord for TlsKeyType
impl Ord for TlsKeyType
Source§fn cmp(&self, other: &TlsKeyType) -> Ordering
fn cmp(&self, other: &TlsKeyType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TlsKeyType
impl PartialEq for TlsKeyType
Source§impl PartialOrd for TlsKeyType
impl PartialOrd for TlsKeyType
Source§impl Serialize for TlsKeyType
impl Serialize for TlsKeyType
impl Copy for TlsKeyType
impl Eq for TlsKeyType
impl StructuralPartialEq for TlsKeyType
Auto Trait Implementations§
impl Freeze for TlsKeyType
impl RefUnwindSafe for TlsKeyType
impl Send for TlsKeyType
impl Sync for TlsKeyType
impl Unpin for TlsKeyType
impl UnwindSafe for TlsKeyType
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