Struct mundane::hash::Sha256Digest
source · pub struct Sha256Digest(/* private fields */);
Expand description
The digest output by the SHA-256 hash function.
Trait Implementations§
source§impl Debug for Sha256Digest
impl Debug for Sha256Digest
source§impl Digest for Sha256Digest
impl Digest for Sha256Digest
source§const DIGEST_LEN: usize = 32usize
const DIGEST_LEN: usize = 32usize
The length in bytes of this digest.
source§fn from_bytes(bytes: Self::Bytes) -> Self
fn from_bytes(bytes: Self::Bytes) -> Self
Constructs a new digest from bytes.
source§impl Display for Sha256Digest
impl Display for Sha256Digest
source§impl PartialEq for Sha256Digest
impl PartialEq for Sha256Digest
impl Eq for Sha256Digest
Auto Trait Implementations§
impl Freeze for Sha256Digest
impl RefUnwindSafe for Sha256Digest
impl Send for Sha256Digest
impl Sync for Sha256Digest
impl Unpin for Sha256Digest
impl UnwindSafe for Sha256Digest
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