pub enum DhFamily {
Rfc7919,
}
Expand description
Enumeration of Diffie Hellman group families supported.
Variants
Rfc7919
Diffie-Hellman groups defined in RFC 7919 Appendix A.
This family includes groups with the following bits
: 2048, 3072, 4096, 6144, 8192.
An implementation can support all of these sizes or only a subset.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DhFamily
impl<'de> Deserialize<'de> for DhFamily
sourcepub fn deserialize<__D>(
__deserializer: __D
) -> Result<DhFamily, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<DhFamily, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for DhFamily
impl Serialize for DhFamily
sourcepub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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
impl Copy for DhFamily
impl StructuralPartialEq for DhFamily
Auto Trait Implementations
impl RefUnwindSafe for DhFamily
impl Send for DhFamily
impl Sync for DhFamily
impl Unpin for DhFamily
impl UnwindSafe for DhFamily
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more