pub enum MapletError {
CapacityExceeded,
InvalidErrorRate(f64),
InvalidCapacity(usize),
CollisionLimitExceeded,
MergeFailed(String),
ResizeFailed(String),
SerializationError(String),
Internal(String),
}
Expand description
Error types for maplet operations
Variants§
CapacityExceeded
InvalidErrorRate(f64)
InvalidCapacity(usize)
CollisionLimitExceeded
MergeFailed(String)
ResizeFailed(String)
SerializationError(String)
Internal(String)
Trait Implementations§
Source§impl Debug for MapletError
impl Debug for MapletError
Source§impl Display for MapletError
impl Display for MapletError
Source§impl Error for MapletError
impl Error for MapletError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MapletError
impl RefUnwindSafe for MapletError
impl Send for MapletError
impl Sync for MapletError
impl Unpin for MapletError
impl UnwindSafe for MapletError
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