#[non_exhaustive]pub enum MacAlgorithm {
HmacSha1,
HmacSha256,
}
Expand description
MAC algorithm to use when creating the PKCS#12 file
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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 Hash for MacAlgorithm
impl Hash for MacAlgorithm
Source§impl Ord for MacAlgorithm
impl Ord for MacAlgorithm
Source§fn cmp(&self, other: &MacAlgorithm) -> Ordering
fn cmp(&self, other: &MacAlgorithm) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MacAlgorithm
impl PartialEq for MacAlgorithm
Source§impl PartialOrd for MacAlgorithm
impl PartialOrd for MacAlgorithm
impl Copy for MacAlgorithm
impl Eq 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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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