Enum sequoia_openpgp::crypto::mpi::SecretKeyChecksum
source · pub enum SecretKeyChecksum {
SHA1,
Sum16,
}
Expand description
Checksum method for secret key material.
Secret key material may be protected by a checksum. See Section 5.5.3 of RFC 4880 for details.
Variants§
Trait Implementations§
source§impl Clone for SecretKeyChecksum
impl Clone for SecretKeyChecksum
source§fn clone(&self) -> SecretKeyChecksum
fn clone(&self) -> SecretKeyChecksum
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 SecretKeyChecksum
impl Debug for SecretKeyChecksum
source§impl Default for SecretKeyChecksum
impl Default for SecretKeyChecksum
source§impl Hash for SecretKeyChecksum
impl Hash for SecretKeyChecksum
source§impl PartialEq for SecretKeyChecksum
impl PartialEq for SecretKeyChecksum
source§fn eq(&self, other: &SecretKeyChecksum) -> bool
fn eq(&self, other: &SecretKeyChecksum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SecretKeyChecksum
impl Eq for SecretKeyChecksum
impl StructuralPartialEq for SecretKeyChecksum
Auto Trait Implementations§
impl Freeze for SecretKeyChecksum
impl RefUnwindSafe for SecretKeyChecksum
impl Send for SecretKeyChecksum
impl Sync for SecretKeyChecksum
impl Unpin for SecretKeyChecksum
impl UnwindSafe for SecretKeyChecksum
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)