pub enum PublicKeyCodec {
Ed25519,
X25519,
P256,
P384,
}Expand description
Public key codecs recognized by this profile. Recognition does not imply that a key can be used for signatures; X25519 is for key agreement.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PublicKeyCodec
impl Clone for PublicKeyCodec
impl Copy for PublicKeyCodec
Source§impl Debug for PublicKeyCodec
impl Debug for PublicKeyCodec
impl Eq for PublicKeyCodec
Source§impl Hash for PublicKeyCodec
impl Hash for PublicKeyCodec
Source§impl Ord for PublicKeyCodec
impl Ord for PublicKeyCodec
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PublicKeyCodec
impl PartialEq for PublicKeyCodec
Source§impl PartialOrd for PublicKeyCodec
impl PartialOrd for PublicKeyCodec
impl StructuralPartialEq for PublicKeyCodec
Auto Trait Implementations§
impl Forget for PublicKeyCodec
impl Freeze for PublicKeyCodec
impl Move for PublicKeyCodec
impl RefUnwindSafe for PublicKeyCodec
impl Send for PublicKeyCodec
impl Sync for PublicKeyCodec
impl Unpin for PublicKeyCodec
impl UnsafeUnpin for PublicKeyCodec
impl UnwindSafe for PublicKeyCodec
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