pub enum MacAlgorithm {
HmacSha256(MacParam),
Cbcmac(MacParam),
Cmac(MacParam),
}
Expand description
MAC algorithm to compute
Variants§
Trait Implementations§
Source§impl Clone for MacAlgorithm
impl Clone for MacAlgorithm
Source§fn clone(&self) -> MacAlgorithm
fn clone(&self) -> MacAlgorithm
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 MacAlgorithm
impl Debug for MacAlgorithm
Source§impl PartialEq for MacAlgorithm
impl PartialEq for MacAlgorithm
impl StructuralPartialEq for MacAlgorithm
Auto Trait Implementations§
impl Freeze for MacAlgorithm
impl RefUnwindSafe for MacAlgorithm
impl Send for MacAlgorithm
impl Sync for MacAlgorithm
impl Unpin for MacAlgorithm
impl UnwindSafe for MacAlgorithm
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