pub enum Digest {
Sha1,
Sha224,
Sha256,
Sha384,
Sha512,
}
Expand description
Supported message digests.
Variants§
Sha1
SHA1
Sha224
SHA2 with a 224 bit hash
Sha256
SHA2 with a 256 bit hash
Sha384
SHA2 with a 384 bit hash
Sha512
SHA2 with a 512 bit hash
Implementations§
Trait Implementations§
impl Copy for Digest
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 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