#[repr(u16)]pub enum DigestAlg {
Sha256 = 2,
Sha512 = 4,
Sha3_256 = 258,
Sha3_512 = 260,
Blake3 = 513,
}Expand description
Supported digest algorithms (extensible).
Variants§
Implementations§
Trait Implementations§
Source§impl TryFromPrimitive for DigestAlg
impl TryFromPrimitive for DigestAlg
impl Copy for DigestAlg
impl Eq for DigestAlg
impl StructuralPartialEq for DigestAlg
Auto Trait Implementations§
impl Freeze for DigestAlg
impl RefUnwindSafe for DigestAlg
impl Send for DigestAlg
impl Sync for DigestAlg
impl Unpin for DigestAlg
impl UnsafeUnpin for DigestAlg
impl UnwindSafe for DigestAlg
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