pub struct BlockHashSize<const N: usize> {}
Expand description
A generic type to constrain given block hash size using ConstrainedBlockHashSize
.
Trait Implementations§
Source§impl<const SZ_BH: usize> ConstrainedBlockHashSize for BlockHashSize<SZ_BH>where
BlockHashSize<SZ_BH>: SealedBlockHashSize,
impl<const SZ_BH: usize> ConstrainedBlockHashSize for BlockHashSize<SZ_BH>where
BlockHashSize<SZ_BH>: SealedBlockHashSize,
Auto Trait Implementations§
impl<const N: usize> Freeze for BlockHashSize<N>
impl<const N: usize> RefUnwindSafe for BlockHashSize<N>
impl<const N: usize> Send for BlockHashSize<N>
impl<const N: usize> Sync for BlockHashSize<N>
impl<const N: usize> Unpin for BlockHashSize<N>
impl<const N: usize> UnwindSafe for BlockHashSize<N>
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