pub struct IncrementalHasher { /* private fields */ }Expand description
Incremental hasher for streaming data
Implementations§
Source§impl IncrementalHasher
impl IncrementalHasher
Sourcepub fn new(algorithm: HashAlgorithm) -> Self
pub fn new(algorithm: HashAlgorithm) -> Self
Create a new incremental hasher
Sourcepub fn finalize(self) -> HashOutput
pub fn finalize(self) -> HashOutput
Finalize and return hash output
Auto Trait Implementations§
impl Freeze for IncrementalHasher
impl RefUnwindSafe for IncrementalHasher
impl Send for IncrementalHasher
impl Sync for IncrementalHasher
impl Unpin for IncrementalHasher
impl UnwindSafe for IncrementalHasher
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