Trait ssdeep::constraints::ConstrainedBlockHashSizes
source · pub trait ConstrainedBlockHashSizes: SealedBlockHashSizes {
const MAX_BLOCK_HASH_SIZE_1: usize;
const MAX_BLOCK_HASH_SIZE_2: usize;
}Expand description
A trait to constrain block hash sizes.
This type is implemented for BlockHashSizes with following sizes:
Note that this trait is intentionally designed to be non-extensible (using the sealed trait pattern).
Required Associated Constants§
sourceconst MAX_BLOCK_HASH_SIZE_1: usize
const MAX_BLOCK_HASH_SIZE_1: usize
The maximum size of the block hash 1.
sourceconst MAX_BLOCK_HASH_SIZE_2: usize
const MAX_BLOCK_HASH_SIZE_2: usize
The maximum size of the block hash 2.
Object Safety§
This trait is not object safe.