pub enum MphfError {
MaxLevelsExceeded,
InvalidSeedType,
InvalidGammaParameter,
}Expand description
Errors that can occur when initializing Mphf.
Variants§
MaxLevelsExceeded
Error when the maximum number of levels is exceeded during initialization.
InvalidSeedType
Error when the seed type ST is too small to store S bits
InvalidGammaParameter
Error when the gamma parameter is less than 1.0.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MphfError
impl RefUnwindSafe for MphfError
impl Send for MphfError
impl Sync for MphfError
impl Unpin for MphfError
impl UnwindSafe for MphfError
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