Struct ssh_key::public::Ed25519PublicKey
source · pub struct Ed25519PublicKey(pub [u8; 32]);
Expand description
Ed25519 public key.
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
source§impl Clone for Ed25519PublicKey
impl Clone for Ed25519PublicKey
source§fn clone(&self) -> Ed25519PublicKey
fn clone(&self) -> Ed25519PublicKey
Returns a copy of the value. Read more
1.0.0 · 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 Ed25519PublicKey
impl Debug for Ed25519PublicKey
source§impl Display for Ed25519PublicKey
impl Display for Ed25519PublicKey
source§impl From<&Ed25519Keypair> for Ed25519PublicKey
impl From<&Ed25519Keypair> for Ed25519PublicKey
source§fn from(keypair: &Ed25519Keypair) -> Ed25519PublicKey
fn from(keypair: &Ed25519Keypair) -> Ed25519PublicKey
Converts to this type from the input type.
source§impl From<Ed25519Keypair> for Ed25519PublicKey
impl From<Ed25519Keypair> for Ed25519PublicKey
source§fn from(keypair: Ed25519Keypair) -> Ed25519PublicKey
fn from(keypair: Ed25519Keypair) -> Ed25519PublicKey
Converts to this type from the input type.
source§impl From<Ed25519PublicKey> for KeyData
impl From<Ed25519PublicKey> for KeyData
source§fn from(public_key: Ed25519PublicKey) -> KeyData
fn from(public_key: Ed25519PublicKey) -> KeyData
Converts to this type from the input type.
source§impl From<Ed25519PublicKey> for PublicKey
impl From<Ed25519PublicKey> for PublicKey
source§fn from(public_key: Ed25519PublicKey) -> PublicKey
fn from(public_key: Ed25519PublicKey) -> PublicKey
Converts to this type from the input type.
source§impl From<Ed25519PublicKey> for SkEd25519
impl From<Ed25519PublicKey> for SkEd25519
source§fn from(public_key: Ed25519PublicKey) -> SkEd25519
fn from(public_key: Ed25519PublicKey) -> SkEd25519
Converts to this type from the input type.
source§impl From<SkEd25519> for Ed25519PublicKey
impl From<SkEd25519> for Ed25519PublicKey
source§fn from(sk: SkEd25519) -> Ed25519PublicKey
fn from(sk: SkEd25519) -> Ed25519PublicKey
Converts to this type from the input type.
source§impl Hash for Ed25519PublicKey
impl Hash for Ed25519PublicKey
source§impl LowerHex for Ed25519PublicKey
impl LowerHex for Ed25519PublicKey
source§impl Ord for Ed25519PublicKey
impl Ord for Ed25519PublicKey
source§fn cmp(&self, other: &Ed25519PublicKey) -> Ordering
fn cmp(&self, other: &Ed25519PublicKey) -> Ordering
1.21.0 · 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
source§impl PartialEq for Ed25519PublicKey
impl PartialEq for Ed25519PublicKey
source§impl PartialOrd for Ed25519PublicKey
impl PartialOrd for Ed25519PublicKey
source§impl TryFrom<&[u8]> for Ed25519PublicKey
impl TryFrom<&[u8]> for Ed25519PublicKey
source§impl UpperHex for Ed25519PublicKey
impl UpperHex for Ed25519PublicKey
impl Copy for Ed25519PublicKey
impl Eq for Ed25519PublicKey
impl StructuralPartialEq for Ed25519PublicKey
Auto Trait Implementations§
impl Freeze for Ed25519PublicKey
impl RefUnwindSafe for Ed25519PublicKey
impl Send for Ed25519PublicKey
impl Sync for Ed25519PublicKey
impl Unpin for Ed25519PublicKey
impl UnwindSafe for Ed25519PublicKey
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)