Struct pgp::types::EdDSASecretKey
source · [−]Expand description
Secret key for EdDSA with Curve25519, the only combination we currently support.
Fields
secret: [u8; 32]
The secret point.
oid: Vec<u8>
Trait Implementations
sourceimpl Clone for EdDSASecretKey
impl Clone for EdDSASecretKey
sourcefn clone(&self) -> EdDSASecretKey
fn clone(&self) -> EdDSASecretKey
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 EdDSASecretKey
impl Debug for EdDSASecretKey
sourceimpl Drop for EdDSASecretKey
impl Drop for EdDSASecretKey
sourceimpl PartialEq<EdDSASecretKey> for EdDSASecretKey
impl PartialEq<EdDSASecretKey> for EdDSASecretKey
sourcefn eq(&self, other: &EdDSASecretKey) -> bool
fn eq(&self, other: &EdDSASecretKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EdDSASecretKey) -> bool
fn ne(&self, other: &EdDSASecretKey) -> bool
This method tests for !=
.
sourceimpl Zeroize for EdDSASecretKey
impl Zeroize for EdDSASecretKey
impl Eq for EdDSASecretKey
impl StructuralEq for EdDSASecretKey
impl StructuralPartialEq for EdDSASecretKey
Auto Trait Implementations
impl RefUnwindSafe for EdDSASecretKey
impl Send for EdDSASecretKey
impl Sync for EdDSASecretKey
impl Unpin for EdDSASecretKey
impl UnwindSafe for EdDSASecretKey
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