pub enum HmacAlgorithm {
SHA1,
SHA256,
SHA384,
SHA512,
}Expand description
HMAC 算法
Variants§
Trait Implementations§
Source§impl Clone for HmacAlgorithm
impl Clone for HmacAlgorithm
Source§fn clone(&self) -> HmacAlgorithm
fn clone(&self) -> HmacAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HmacAlgorithm
Source§impl Debug for HmacAlgorithm
impl Debug for HmacAlgorithm
impl Eq for HmacAlgorithm
Source§impl PartialEq for HmacAlgorithm
impl PartialEq for HmacAlgorithm
Source§fn eq(&self, other: &HmacAlgorithm) -> bool
fn eq(&self, other: &HmacAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HmacAlgorithm
Auto Trait Implementations§
impl Freeze for HmacAlgorithm
impl RefUnwindSafe for HmacAlgorithm
impl Send for HmacAlgorithm
impl Sync for HmacAlgorithm
impl Unpin for HmacAlgorithm
impl UnsafeUnpin for HmacAlgorithm
impl UnwindSafe for HmacAlgorithm
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