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 more
sourceimpl 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
This is supported on crate feature ed25519 only.
impl From<&'_ Ed25519PrivateKey> for Ed25519PublicKey
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
This is supported on crate feature ed25519 only.
impl From<&'_ PublicKey> for Ed25519PublicKey
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
This is supported on crate feature ed25519 only.
impl From<Ed25519PrivateKey> for Ed25519PublicKey
ed25519 only.sourcefn from(private: Ed25519PrivateKey) -> Ed25519PublicKey
fn from(private: Ed25519PrivateKey) -> Ed25519PublicKey
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
This is supported on crate feature ed25519 only.
impl From<PublicKey> for Ed25519PublicKey
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
sourceimpl PartialEq<Ed25519PublicKey> for Ed25519PublicKey
impl PartialEq<Ed25519PublicKey> for Ed25519PublicKey
sourcefn eq(&self, other: &Ed25519PublicKey) -> bool
fn eq(&self, other: &Ed25519PublicKey) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Ed25519PublicKey) -> bool
fn ne(&self, other: &Ed25519PublicKey) -> bool
This method tests for !=.
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>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
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 more
sourceimpl TryFrom<&'_ Ed25519PublicKey> for PublicKey
This is supported on crate feature ed25519 only.
impl TryFrom<&'_ Ed25519PublicKey> for PublicKey
ed25519 only.sourceimpl TryFrom<Ed25519PublicKey> for PublicKey
This is supported on crate feature ed25519 only.
impl TryFrom<Ed25519PublicKey> for PublicKey
ed25519 only.sourceimpl UpperHex for Ed25519PublicKey
impl UpperHex for Ed25519PublicKey
sourceimpl Verifier<Signature> for Ed25519PublicKey
This is supported on crate feature ed25519 only.
impl Verifier<Signature> for Ed25519PublicKey
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more