Struct ssh_key::private::Ed25519PrivateKey
source · [−]pub struct Ed25519PrivateKey(_);Expand description
Ed25519 private key.
Implementations
Trait Implementations
sourceimpl Clone for Ed25519PrivateKey
impl Clone for Ed25519PrivateKey
sourcefn clone(&self) -> Ed25519PrivateKey
fn clone(&self) -> Ed25519PrivateKey
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 ConstantTimeEq for Ed25519PrivateKey
This is supported on crate feature subtle only.
impl ConstantTimeEq for Ed25519PrivateKey
This is supported on crate feature
subtle only.sourceimpl Debug for Ed25519PrivateKey
impl Debug for Ed25519PrivateKey
sourceimpl Drop for Ed25519PrivateKey
impl Drop for Ed25519PrivateKey
sourceimpl From<&'_ Ed25519PrivateKey> for SecretKey
This is supported on crate feature ed25519 only.
impl From<&'_ Ed25519PrivateKey> for SecretKey
This is supported on crate feature
ed25519 only.sourcefn from(key: &Ed25519PrivateKey) -> SecretKey
fn from(key: &Ed25519PrivateKey) -> SecretKey
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
This is supported 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<&'_ SecretKey> for Ed25519PrivateKey
This is supported on crate feature ed25519 only.
impl From<&'_ SecretKey> for Ed25519PrivateKey
This is supported on crate feature
ed25519 only.sourcefn from(key: &SecretKey) -> Ed25519PrivateKey
fn from(key: &SecretKey) -> Ed25519PrivateKey
Converts to this type from the input type.
sourceimpl From<Ed25519PrivateKey> for SecretKey
This is supported on crate feature ed25519 only.
impl From<Ed25519PrivateKey> for SecretKey
This is supported on crate feature
ed25519 only.sourcefn from(key: Ed25519PrivateKey) -> SecretKey
fn from(key: Ed25519PrivateKey) -> SecretKey
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
This is supported 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<Ed25519PrivateKey> for Ed25519Keypair
This is supported on crate feature ed25519 only.
impl From<Ed25519PrivateKey> for Ed25519Keypair
This is supported on crate feature
ed25519 only.sourcefn from(private: Ed25519PrivateKey) -> Ed25519Keypair
fn from(private: Ed25519PrivateKey) -> Ed25519Keypair
Converts to this type from the input type.
sourceimpl From<SecretKey> for Ed25519PrivateKey
This is supported on crate feature ed25519 only.
impl From<SecretKey> for Ed25519PrivateKey
This is supported on crate feature
ed25519 only.sourcefn from(key: SecretKey) -> Ed25519PrivateKey
fn from(key: SecretKey) -> Ed25519PrivateKey
Converts to this type from the input type.
sourceimpl LowerHex for Ed25519PrivateKey
impl LowerHex for Ed25519PrivateKey
sourceimpl PartialEq<Ed25519PrivateKey> for Ed25519PrivateKey
This is supported on crate feature subtle only.
impl PartialEq<Ed25519PrivateKey> for Ed25519PrivateKey
This is supported on crate feature
subtle only.sourceimpl UpperHex for Ed25519PrivateKey
impl UpperHex for Ed25519PrivateKey
impl Eq for Ed25519PrivateKey
This is supported on crate feature
subtle only.Auto Trait Implementations
impl RefUnwindSafe for Ed25519PrivateKey
impl Send for Ed25519PrivateKey
impl Sync for Ed25519PrivateKey
impl Unpin for Ed25519PrivateKey
impl UnwindSafe for Ed25519PrivateKey
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more