pub struct HmacStream<const OUTLEN: usize, const BLOCK: usize, D>{ /* private fields */ }Expand description
Generic streaming HMAC state, parametrized by output length, block size,
and an incremental digest implementation D.
Use the type aliases HmacSha256, HmacSha384, or HmacSha512
rather than spelling out the type parameters directly.
Trait Implementations§
Source§impl<const OUTLEN: usize, const BLOCK: usize, Digest> HmacState<OUTLEN> for HmacStream<OUTLEN, BLOCK, Digest>
impl<const OUTLEN: usize, const BLOCK: usize, Digest> HmacState<OUTLEN> for HmacStream<OUTLEN, BLOCK, Digest>
Auto Trait Implementations§
impl<const OUTLEN: usize, const BLOCK: usize, D> Freeze for HmacStream<OUTLEN, BLOCK, D>
impl<const OUTLEN: usize, const BLOCK: usize, D> RefUnwindSafe for HmacStream<OUTLEN, BLOCK, D>
impl<const OUTLEN: usize, const BLOCK: usize, D> Send for HmacStream<OUTLEN, BLOCK, D>
impl<const OUTLEN: usize, const BLOCK: usize, D> Sync for HmacStream<OUTLEN, BLOCK, D>
impl<const OUTLEN: usize, const BLOCK: usize, D> Unpin for HmacStream<OUTLEN, BLOCK, D>
impl<const OUTLEN: usize, const BLOCK: usize, D> UnsafeUnpin for HmacStream<OUTLEN, BLOCK, D>
impl<const OUTLEN: usize, const BLOCK: usize, D> UnwindSafe for HmacStream<OUTLEN, BLOCK, D>
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