Struct ssh_key::private::Ed25519PrivateKey
source · pub struct Ed25519PrivateKey(/* private fields */);
Expand description
Ed25519 private key.
Implementations§
source§impl Ed25519PrivateKey
impl Ed25519PrivateKey
sourcepub fn from_bytes(bytes: &[u8; 32]) -> Self
pub fn from_bytes(bytes: &[u8; 32]) -> Self
Parse Ed25519 private key from bytes.
Trait Implementations§
source§impl Clone for Ed25519PrivateKey
impl Clone for Ed25519PrivateKey
source§fn clone(&self) -> Ed25519PrivateKey
fn clone(&self) -> Ed25519PrivateKey
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 Ed25519PrivateKey
impl Debug for Ed25519PrivateKey
source§impl Drop for Ed25519PrivateKey
impl Drop for Ed25519PrivateKey
source§impl LowerHex for Ed25519PrivateKey
impl LowerHex for Ed25519PrivateKey
source§impl TryFrom<&[u8]> for Ed25519PrivateKey
impl TryFrom<&[u8]> for Ed25519PrivateKey
Auto Trait Implementations§
impl Freeze for Ed25519PrivateKey
impl RefUnwindSafe for Ed25519PrivateKey
impl Send for Ed25519PrivateKey
impl Sync for Ed25519PrivateKey
impl Unpin for Ed25519PrivateKey
impl UnwindSafe for Ed25519PrivateKey
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
)