pub enum PublicKey {
Ed25519(VerifyingKey),
}Expand description
Secret Connection peer identity public keys (signing, presently Ed25519-only)
Variants§
Ed25519(VerifyingKey)
Ed25519 Secret Connection Keys
Implementations§
Trait Implementations§
Source§impl From<&SigningKey> for PublicKey
impl From<&SigningKey> for PublicKey
Source§fn from(sk: &IdentitySecret) -> Self
fn from(sk: &IdentitySecret) -> Self
Converts to this type from the input type.
Source§impl From<&VerifyingKey> for PublicKey
impl From<&VerifyingKey> for PublicKey
Source§fn from(pk: &VerifyingKey) -> Self
fn from(pk: &VerifyingKey) -> Self
Converts to this type from the input type.
Source§impl From<VerifyingKey> for PublicKey
impl From<VerifyingKey> for PublicKey
Source§fn from(pk: VerifyingKey) -> Self
fn from(pk: VerifyingKey) -> Self
Converts to this type from the input type.
impl Copy for PublicKey
impl Eq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
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