pub struct DigestStreamingAdapter<D: Digest + Default> { /* private fields */ }Expand description
Generic streaming adapter wrapping any digest::Digest + Default type.
Implements StreamingHash for all digest 0.11-compatible hash
functions (SHA-2, SHA-3, BLAKE2). BLAKE3 uses a separate impl.
Implementations§
Trait Implementations§
Source§impl<D: Digest + Default + Send> StreamingHash for DigestStreamingAdapter<D>
impl<D: Digest + Default + Send> StreamingHash for DigestStreamingAdapter<D>
Auto Trait Implementations§
impl<D> Freeze for DigestStreamingAdapter<D>where
D: Freeze,
impl<D> RefUnwindSafe for DigestStreamingAdapter<D>where
D: RefUnwindSafe,
impl<D> Send for DigestStreamingAdapter<D>where
D: Send,
impl<D> Sync for DigestStreamingAdapter<D>where
D: Sync,
impl<D> Unpin for DigestStreamingAdapter<D>where
D: Unpin,
impl<D> UnsafeUnpin for DigestStreamingAdapter<D>where
D: UnsafeUnpin,
impl<D> UnwindSafe for DigestStreamingAdapter<D>where
D: UnwindSafe,
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