#[repr(C)]pub enum DsaHashAlgorithm {
Sha1 = 0,
Sha256 = 1,
Sha512 = 2,
}
Expand description
Specifies the hashing algorithm to use in the DSA key context.
Variants§
Trait Implementations§
Source§impl Clone for DsaHashAlgorithm
impl Clone for DsaHashAlgorithm
Source§fn clone(&self) -> DsaHashAlgorithm
fn clone(&self) -> DsaHashAlgorithm
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 moreimpl Copy for DsaHashAlgorithm
Auto Trait Implementations§
impl Freeze for DsaHashAlgorithm
impl RefUnwindSafe for DsaHashAlgorithm
impl Send for DsaHashAlgorithm
impl Sync for DsaHashAlgorithm
impl Unpin for DsaHashAlgorithm
impl UnwindSafe for DsaHashAlgorithm
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