pub struct DigestResult {
pub left: Bytes,
pub digest: [u8; 32],
pub right: Bytes,
}
Expand description
The result of a digest.
Use DigestProcessor::generate_and_fill_digest
to create a DigestResult
and DigestResult::write_to
to write the result to a buffer.
Fields§
§left: Bytes
The left part.
digest: [u8; 32]
The digest.
right: Bytes
The right part.
Implementations§
Auto Trait Implementations§
impl !Freeze for DigestResult
impl RefUnwindSafe for DigestResult
impl Send for DigestResult
impl Sync for DigestResult
impl Unpin for DigestResult
impl UnwindSafe for DigestResult
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