pub enum NamedGroup {
X25519,
Secp256r1,
Secp384r1,
}Expand description
Key-exchange groups.
Variants§
X25519
Secp256r1
Secp384r1
secp384r1 (feature p384): not in the default lists; add it to groups to offer or
accept it.
Implementations§
Trait Implementations§
Source§impl Clone for NamedGroup
impl Clone for NamedGroup
impl Copy for NamedGroup
Source§impl Debug for NamedGroup
impl Debug for NamedGroup
impl Eq for NamedGroup
Source§impl PartialEq for NamedGroup
impl PartialEq for NamedGroup
impl StructuralPartialEq for NamedGroup
Auto Trait Implementations§
impl Forget for NamedGroup
impl Freeze for NamedGroup
impl Move for NamedGroup
impl RefUnwindSafe for NamedGroup
impl Send for NamedGroup
impl Sync for NamedGroup
impl Unpin for NamedGroup
impl UnsafeUnpin 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