Enum pgp::composed::key::DsaKeySize
source · #[repr(u32)]pub enum DsaKeySize {
B1024 = 1_024,
B2048 = 2_048,
B3072 = 3_072,
}
Variants§
B1024 = 1_024
DSA parameter size constant: L = 1024, N = 160
B2048 = 2_048
DSA parameter size constant: L = 2048, N = 256
B3072 = 3_072
DSA parameter size constant: L = 3072, N = 256
Trait Implementations§
source§impl Clone for DsaKeySize
impl Clone for DsaKeySize
source§fn clone(&self) -> DsaKeySize
fn clone(&self) -> DsaKeySize
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 DsaKeySize
impl Debug for DsaKeySize
source§impl From<DsaKeySize> for KeySize
impl From<DsaKeySize> for KeySize
source§fn from(value: DsaKeySize) -> Self
fn from(value: DsaKeySize) -> Self
Converts to this type from the input type.
source§impl PartialEq for DsaKeySize
impl PartialEq for DsaKeySize
source§fn eq(&self, other: &DsaKeySize) -> bool
fn eq(&self, other: &DsaKeySize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DsaKeySize
impl Eq for DsaKeySize
impl StructuralPartialEq for DsaKeySize
Auto Trait Implementations§
impl Freeze for DsaKeySize
impl RefUnwindSafe for DsaKeySize
impl Send for DsaKeySize
impl Sync for DsaKeySize
impl Unpin for DsaKeySize
impl UnwindSafe for DsaKeySize
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