#[non_exhaustive]pub enum IntegrityAlgorithm {
Sha256,
Sha384,
Sha512,
}Available on crate feature
sd-jwt only.Expand description
A hash algorithm of integrity metadata (W3C SRI §3).
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.
Implementations§
Trait Implementations§
Source§impl Clone for IntegrityAlgorithm
impl Clone for IntegrityAlgorithm
impl Copy for IntegrityAlgorithm
Source§impl Debug for IntegrityAlgorithm
impl Debug for IntegrityAlgorithm
impl Eq for IntegrityAlgorithm
Source§impl Hash for IntegrityAlgorithm
impl Hash for IntegrityAlgorithm
Source§impl Ord for IntegrityAlgorithm
impl Ord for IntegrityAlgorithm
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IntegrityAlgorithm
impl PartialEq for IntegrityAlgorithm
Source§impl PartialOrd for IntegrityAlgorithm
impl PartialOrd for IntegrityAlgorithm
impl StructuralPartialEq for IntegrityAlgorithm
Auto Trait Implementations§
impl Freeze for IntegrityAlgorithm
impl RefUnwindSafe for IntegrityAlgorithm
impl Send for IntegrityAlgorithm
impl Sync for IntegrityAlgorithm
impl Unpin for IntegrityAlgorithm
impl UnsafeUnpin for IntegrityAlgorithm
impl UnwindSafe for IntegrityAlgorithm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.