Struct ssh_key::private::Ed25519PrivateKey
source · [−]pub struct Ed25519PrivateKey(_);
Expand description
Ed25519 private key.
Implementations
sourceimpl Ed25519PrivateKey
impl Ed25519PrivateKey
Trait Implementations
sourceimpl AsRef<[u8; 32]> for Ed25519PrivateKey
impl AsRef<[u8; 32]> for Ed25519PrivateKey
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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl ConstantTimeEq for Ed25519PrivateKey
Available on crate feature subtle
only.
impl ConstantTimeEq for Ed25519PrivateKey
Available 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 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<&Ed25519PrivateKey> for SecretKey
Available on crate feature ed25519
only.
impl From<&Ed25519PrivateKey> for SecretKey
Available 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<&SecretKey> for Ed25519PrivateKey
Available on crate feature ed25519
only.
impl From<&SecretKey> for Ed25519PrivateKey
Available 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 Ed25519Keypair
Available on crate feature ed25519
only.
impl From<Ed25519PrivateKey> for Ed25519Keypair
Available 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<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<Ed25519PrivateKey> for SecretKey
Available on crate feature ed25519
only.
impl From<Ed25519PrivateKey> for SecretKey
Available 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<SecretKey> for Ed25519PrivateKey
Available on crate feature ed25519
only.
impl From<SecretKey> for Ed25519PrivateKey
Available 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
Available on crate feature subtle
only.
impl PartialEq<Ed25519PrivateKey> for Ed25519PrivateKey
Available on crate feature
subtle
only.sourceimpl TryFrom<&[u8]> for Ed25519PrivateKey
impl TryFrom<&[u8]> for Ed25519PrivateKey
sourceimpl UpperHex for Ed25519PrivateKey
impl UpperHex for Ed25519PrivateKey
impl Eq for Ed25519PrivateKey
Available 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 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