#[non_exhaustive]pub enum Digest {
Sha256(Bytes),
Sha384(Bytes),
Sha512(Bytes),
}Expand description
Required. The message digest.
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.
Sha256(Bytes)
A message digest produced with the SHA-256 algorithm.
Sha384(Bytes)
A message digest produced with the SHA-384 algorithm.
Sha512(Bytes)
A message digest produced with the SHA-512 algorithm.
Trait Implementations§
impl StructuralPartialEq for Digest
Auto Trait Implementations§
impl !Freeze for Digest
impl RefUnwindSafe for Digest
impl Send for Digest
impl Sync for Digest
impl Unpin for Digest
impl UnsafeUnpin for Digest
impl UnwindSafe for Digest
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