pub enum EccKeyAlgorithm {
P256,
X25519,
X448,
Ed25519,
}Expand description
Selects one supported elliptic-curve key algorithm for unified key generation.
Variants§
P256
NIST P-256 (secp256r1) key material.
X25519
Curve25519 X25519 key-exchange key material.
X448
Curve448 X448 key-exchange key material.
Ed25519
Ed25519 signing key material.
Trait Implementations§
Source§impl Clone for EccKeyAlgorithm
impl Clone for EccKeyAlgorithm
Source§fn clone(&self) -> EccKeyAlgorithm
fn clone(&self) -> EccKeyAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EccKeyAlgorithm
impl Debug for EccKeyAlgorithm
Source§impl PartialEq for EccKeyAlgorithm
impl PartialEq for EccKeyAlgorithm
Source§fn eq(&self, other: &EccKeyAlgorithm) -> bool
fn eq(&self, other: &EccKeyAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EccKeyAlgorithm
impl Eq for EccKeyAlgorithm
impl StructuralPartialEq for EccKeyAlgorithm
Auto Trait Implementations§
impl Freeze for EccKeyAlgorithm
impl RefUnwindSafe for EccKeyAlgorithm
impl Send for EccKeyAlgorithm
impl Sync for EccKeyAlgorithm
impl Unpin for EccKeyAlgorithm
impl UnsafeUnpin for EccKeyAlgorithm
impl UnwindSafe for EccKeyAlgorithm
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