pub enum Mac {
HmacSha1,
HmacSha2_256,
HmacSha2_512,
}
Expand description
MAC(message authentication code) algorithm
Variants§
Trait Implementations§
impl Copy for Mac
impl Eq for Mac
impl StructuralEq for Mac
impl StructuralPartialEq for Mac
Auto Trait Implementations§
impl RefUnwindSafe for Mac
impl Send for Mac
impl Sync for Mac
impl Unpin for Mac
impl UnwindSafe for Mac
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