pub enum HmacAlgorithm {
Sha1,
Sha256,
Sha384,
Sha512,
}Expand description
HMAC algorithm enumeration
Variants§
Implementations§
Source§impl HmacAlgorithm
impl HmacAlgorithm
Sourcepub fn output_size(&self) -> usize
pub fn output_size(&self) -> usize
Get output length
Trait Implementations§
Source§impl Clone for HmacAlgorithm
impl Clone for HmacAlgorithm
impl Copy for HmacAlgorithm
Source§impl Debug for HmacAlgorithm
impl Debug for HmacAlgorithm
Source§impl PartialEq for HmacAlgorithm
impl PartialEq for HmacAlgorithm
impl StructuralPartialEq for HmacAlgorithm
Auto Trait Implementations§
impl Forget for HmacAlgorithm
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