pub struct Digest {
value: Output,
algorithm: &'static Algorithm,
}
Expand description
A calculated digest value.
Use Self::as_ref
to get the value as a &[u8]
.
Fields§
§value: Output
§algorithm: &'static Algorithm
Implementations§
Trait Implementations§
impl Copy 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