pub enum IntegrityAlgorithm {
Sha1,
Sha256,
}
Expand description
The supported hashing algorithms for ensuring integrity of a Message
Variants§
Trait Implementations§
Source§impl Clone for IntegrityAlgorithm
impl Clone for IntegrityAlgorithm
Source§fn clone(&self) -> IntegrityAlgorithm
fn clone(&self) -> IntegrityAlgorithm
Returns a duplicate 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 IntegrityAlgorithm
impl Debug for IntegrityAlgorithm
Source§impl PartialEq for IntegrityAlgorithm
impl PartialEq for IntegrityAlgorithm
impl Copy for IntegrityAlgorithm
impl Eq for IntegrityAlgorithm
impl StructuralPartialEq for IntegrityAlgorithm
Auto Trait Implementations§
impl Freeze for IntegrityAlgorithm
impl RefUnwindSafe for IntegrityAlgorithm
impl Send for IntegrityAlgorithm
impl Sync for IntegrityAlgorithm
impl Unpin for IntegrityAlgorithm
impl UnwindSafe for IntegrityAlgorithm
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