pub struct BufHasher<const H_LEN: usize, const B_LEN: usize, H>where
H: BlockHasher<H_LEN, B_LEN>,{ /* private fields */ }
Implementations§
Source§impl<const H_LEN: usize, const B_LEN: usize, H> BufHasher<H_LEN, B_LEN, H>where
H: BlockHasher<H_LEN, B_LEN>,
impl<const H_LEN: usize, const B_LEN: usize, H> BufHasher<H_LEN, B_LEN, H>where
H: BlockHasher<H_LEN, B_LEN>,
pub fn update_with(&mut self, msg: &[u8])
Trait Implementations§
Source§impl<const H_LEN: usize, const B_LEN: usize, H> BlockHasher<H_LEN, B_LEN> for BufHasher<H_LEN, B_LEN, H>where
H: BlockHasher<H_LEN, B_LEN>,
impl<const H_LEN: usize, const B_LEN: usize, H> BlockHasher<H_LEN, B_LEN> for BufHasher<H_LEN, B_LEN, H>where
H: BlockHasher<H_LEN, B_LEN>,
Auto Trait Implementations§
impl<const H_LEN: usize, const B_LEN: usize, H> Freeze for BufHasher<H_LEN, B_LEN, H>where
H: Freeze,
impl<const H_LEN: usize, const B_LEN: usize, H> RefUnwindSafe for BufHasher<H_LEN, B_LEN, H>where
H: RefUnwindSafe,
impl<const H_LEN: usize, const B_LEN: usize, H> Send for BufHasher<H_LEN, B_LEN, H>where
H: Send,
impl<const H_LEN: usize, const B_LEN: usize, H> Sync for BufHasher<H_LEN, B_LEN, H>where
H: Sync,
impl<const H_LEN: usize, const B_LEN: usize, H> Unpin for BufHasher<H_LEN, B_LEN, H>where
H: Unpin,
impl<const H_LEN: usize, const B_LEN: usize, H> UnwindSafe for BufHasher<H_LEN, B_LEN, H>where
H: 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