pub struct StreamHasher(/* private fields */);Expand description
Incremental hasher for building a ContentHash from multiple updates.
Avoids allocating an intermediate buffer when the input is spread across multiple slices (e.g., request fingerprinting).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamHasher
impl RefUnwindSafe for StreamHasher
impl Send for StreamHasher
impl Sync for StreamHasher
impl Unpin for StreamHasher
impl UnsafeUnpin for StreamHasher
impl UnwindSafe for StreamHasher
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