ConstrainedLengthProcessingInfo

Trait ConstrainedLengthProcessingInfo 

Source
pub trait ConstrainedLengthProcessingInfo: Sealed {
    const MIN: u32;
    const MIN_CONSERVATIVE: u32;
    const MAX: u32 = 4_224_281_216u32;
}
Expand description

Denotes bucket count-specific length constraints.

Required Associated Constants§

Source

const MIN: u32

The minimum data length (on all modes).

Source

const MIN_CONSERVATIVE: u32

The minimum data length (on the conservative mode).

Provided Associated Constants§

Source

const MAX: u32 = 4_224_281_216u32

The maximum data length (inclusive).

Note that this value is the same across all length processing information instantiations.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ConstrainedLengthProcessingInfo for LengthProcessingInfo<NUM_BUCKETS_LONG>
where FuzzyHashBucketsInfo<NUM_BUCKETS_LONG>: FuzzyHashBucketMapper,

Source§

const MIN: u32 = 50u32

Source§

const MIN_CONSERVATIVE: u32 = 128u32

Source§

impl ConstrainedLengthProcessingInfo for LengthProcessingInfo<NUM_BUCKETS_NORMAL>
where FuzzyHashBucketsInfo<NUM_BUCKETS_NORMAL>: FuzzyHashBucketMapper,

Source§

const MIN: u32 = 50u32

Source§

const MIN_CONSERVATIVE: u32 = 128u32

Source§

impl ConstrainedLengthProcessingInfo for LengthProcessingInfo<NUM_BUCKETS_SHORT>
where FuzzyHashBucketsInfo<NUM_BUCKETS_SHORT>: FuzzyHashBucketMapper,

Source§

const MIN: u32 = 10u32

Source§

const MIN_CONSERVATIVE: u32 = 10u32