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