Enum pgp::types::ECDSASecretKey
source · pub enum ECDSASecretKey {
P256(SecretKey),
P384(SecretKey),
Secp256k1(SecretKey),
Unsupported {
x: Mpi,
curve: ECCCurve,
},
}
Variants§
Trait Implementations§
source§impl Clone for ECDSASecretKey
impl Clone for ECDSASecretKey
source§fn clone(&self) -> ECDSASecretKey
fn clone(&self) -> ECDSASecretKey
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 ECDSASecretKey
impl Debug for ECDSASecretKey
source§impl Drop for ECDSASecretKey
impl Drop for ECDSASecretKey
source§impl PartialEq for ECDSASecretKey
impl PartialEq for ECDSASecretKey
source§fn eq(&self, other: &ECDSASecretKey) -> bool
fn eq(&self, other: &ECDSASecretKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ECDSASecretKey
impl StructuralPartialEq for ECDSASecretKey
Auto Trait Implementations§
impl RefUnwindSafe for ECDSASecretKey
impl Send for ECDSASecretKey
impl Sync for ECDSASecretKey
impl Unpin for ECDSASecretKey
impl UnwindSafe for ECDSASecretKey
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