Struct ssh_key::public::Ed25519PublicKey
source · [−]Expand description
Ed25519 public key.
Tuple Fields
0: [u8; 32]Implementations
Trait Implementations
sourceimpl Clone for Ed25519PublicKey
impl Clone for Ed25519PublicKey
sourcefn clone(&self) -> Ed25519PublicKey
fn clone(&self) -> Ed25519PublicKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Ed25519PublicKey
impl Debug for Ed25519PublicKey
sourceimpl Display for Ed25519PublicKey
impl Display for Ed25519PublicKey
sourceimpl From<&Ed25519Keypair> for Ed25519PublicKey
impl From<&Ed25519Keypair> for Ed25519PublicKey
sourcefn from(keypair: &Ed25519Keypair) -> Ed25519PublicKey
fn from(keypair: &Ed25519Keypair) -> Ed25519PublicKey
Converts to this type from the input type.
sourceimpl From<&Ed25519PrivateKey> for Ed25519PublicKey
Available on crate feature ed25519 only.
impl From<&Ed25519PrivateKey> for Ed25519PublicKey
Available on crate feature
ed25519 only.sourcefn from(private: &Ed25519PrivateKey) -> Ed25519PublicKey
fn from(private: &Ed25519PrivateKey) -> Ed25519PublicKey
Converts to this type from the input type.
sourceimpl From<&PublicKey> for Ed25519PublicKey
Available on crate feature ed25519 only.
impl From<&PublicKey> for Ed25519PublicKey
Available on crate feature
ed25519 only.sourcefn from(key: &PublicKey) -> Ed25519PublicKey
fn from(key: &PublicKey) -> Ed25519PublicKey
Converts to this type from the input type.
sourceimpl From<Ed25519Keypair> for Ed25519PublicKey
impl From<Ed25519Keypair> for Ed25519PublicKey
sourcefn from(keypair: Ed25519Keypair) -> Ed25519PublicKey
fn from(keypair: Ed25519Keypair) -> Ed25519PublicKey
Converts to this type from the input type.
sourceimpl From<Ed25519PrivateKey> for Ed25519PublicKey
Available on crate feature ed25519 only.
impl From<Ed25519PrivateKey> for Ed25519PublicKey
Available on crate feature
ed25519 only.sourcefn from(private: Ed25519PrivateKey) -> Ed25519PublicKey
fn from(private: Ed25519PrivateKey) -> Ed25519PublicKey
Converts to this type from the input type.
sourceimpl From<Ed25519PublicKey> for KeyData
impl From<Ed25519PublicKey> for KeyData
sourcefn from(public_key: Ed25519PublicKey) -> KeyData
fn from(public_key: Ed25519PublicKey) -> KeyData
Converts to this type from the input type.
sourceimpl From<Ed25519PublicKey> for PublicKey
impl From<Ed25519PublicKey> for PublicKey
sourcefn from(public_key: Ed25519PublicKey) -> PublicKey
fn from(public_key: Ed25519PublicKey) -> PublicKey
Converts to this type from the input type.
sourceimpl From<Ed25519PublicKey> for SkEd25519
impl From<Ed25519PublicKey> for SkEd25519
sourcefn from(public_key: Ed25519PublicKey) -> SkEd25519
fn from(public_key: Ed25519PublicKey) -> SkEd25519
Converts to this type from the input type.
sourceimpl From<PublicKey> for Ed25519PublicKey
Available on crate feature ed25519 only.
impl From<PublicKey> for Ed25519PublicKey
Available on crate feature
ed25519 only.sourcefn from(key: PublicKey) -> Ed25519PublicKey
fn from(key: PublicKey) -> Ed25519PublicKey
Converts to this type from the input type.
sourceimpl From<SkEd25519> for Ed25519PublicKey
impl From<SkEd25519> for Ed25519PublicKey
sourcefn from(sk: SkEd25519) -> Ed25519PublicKey
fn from(sk: SkEd25519) -> Ed25519PublicKey
Converts to this type from the input type.
sourceimpl Hash for Ed25519PublicKey
impl Hash for Ed25519PublicKey
sourceimpl LowerHex for Ed25519PublicKey
impl LowerHex for Ed25519PublicKey
sourceimpl Ord for Ed25519PublicKey
impl Ord for Ed25519PublicKey
sourcefn cmp(&self, other: &Ed25519PublicKey) -> Ordering
fn cmp(&self, other: &Ed25519PublicKey) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<Ed25519PublicKey> for Ed25519PublicKey
impl PartialEq<Ed25519PublicKey> for Ed25519PublicKey
sourcefn eq(&self, other: &Ed25519PublicKey) -> bool
fn eq(&self, other: &Ed25519PublicKey) -> bool
sourceimpl PartialOrd<Ed25519PublicKey> for Ed25519PublicKey
impl PartialOrd<Ed25519PublicKey> for Ed25519PublicKey
sourcefn partial_cmp(&self, other: &Ed25519PublicKey) -> Option<Ordering>
fn partial_cmp(&self, other: &Ed25519PublicKey) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl TryFrom<&[u8]> for Ed25519PublicKey
impl TryFrom<&[u8]> for Ed25519PublicKey
sourceimpl TryFrom<&Ed25519PublicKey> for PublicKey
Available on crate feature ed25519 only.
impl TryFrom<&Ed25519PublicKey> for PublicKey
Available on crate feature
ed25519 only.sourceimpl TryFrom<Ed25519PublicKey> for PublicKey
Available on crate feature ed25519 only.
impl TryFrom<Ed25519PublicKey> for PublicKey
Available on crate feature
ed25519 only.sourceimpl UpperHex for Ed25519PublicKey
impl UpperHex for Ed25519PublicKey
sourceimpl Verifier<Signature> for Ed25519PublicKey
Available on crate feature ed25519 only.
impl Verifier<Signature> for Ed25519PublicKey
Available on crate feature
ed25519 only.impl Copy for Ed25519PublicKey
impl Eq for Ed25519PublicKey
impl StructuralEq for Ed25519PublicKey
impl StructuralPartialEq for Ed25519PublicKey
Auto Trait Implementations
impl RefUnwindSafe for Ed25519PublicKey
impl Send for Ed25519PublicKey
impl Sync for Ed25519PublicKey
impl Unpin for Ed25519PublicKey
impl UnwindSafe for Ed25519PublicKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more