pub struct NamedGroup {
pub group_name: &'static str,
pub contains_kem: bool,
}Expand description
Holds the named group used for key exchange in the TLS handshake.
contains_kem is true if the named group contains a key encapsulation mechanism.
Fields§
§group_name: &'static str§contains_kem: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for NamedGroup
impl RefUnwindSafe for NamedGroup
impl Send for NamedGroup
impl Sync for NamedGroup
impl Unpin for NamedGroup
impl UnwindSafe for NamedGroup
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