Enum nethsm::TlsKeyType
source · pub enum TlsKeyType {
Rsa,
Curve25519,
EcP224,
EcP256,
EcP384,
EcP521,
}Expand description
Variants§
Trait Implementations§
source§impl Clone for TlsKeyType
impl Clone for TlsKeyType
source§fn clone(&self) -> TlsKeyType
fn clone(&self) -> TlsKeyType
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 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<TlsKeyType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TlsKeyType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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§fn eq(&self, other: &TlsKeyType) -> bool
fn eq(&self, other: &TlsKeyType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for TlsKeyType
impl PartialOrd for TlsKeyType
source§fn partial_cmp(&self, other: &TlsKeyType) -> Option<Ordering>
fn partial_cmp(&self, other: &TlsKeyType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for TlsKeyType
impl Serialize for TlsKeyType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl ToString for TlsKeyType
impl ToString 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