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§
Source§impl<'de> Deserialize<'de> for DhFamily
impl<'de> Deserialize<'de> for DhFamily
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DhFamily, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
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
Source§impl Serialize for DhFamily
impl Serialize for DhFamily
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
impl Copy for DhFamily
impl Eq for DhFamily
impl StructuralPartialEq for DhFamily
Auto Trait Implementations§
impl Freeze for DhFamily
impl RefUnwindSafe for DhFamily
impl Send for DhFamily
impl Sync for DhFamily
impl Unpin for DhFamily
impl UnwindSafe for DhFamily
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