Struct thrussh_libsodium::ed25519::SecretKey
source · pub struct SecretKey {
pub key: [u8; 64],
}
Expand description
Ed25519 secret key.
Fields§
§key: [u8; 64]
Actual key
Implementations§
source§impl SecretKey
impl SecretKey
pub fn new_zeroed() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecretKey
impl RefUnwindSafe for SecretKey
impl Send for SecretKey
impl Sync for SecretKey
impl Unpin for SecretKey
impl UnwindSafe for SecretKey
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