pub enum RoaringError {
SerializationFailed(String),
CompactionFailed(String),
InvalidBitmap(String),
SizeQueryFailed(String),
}Expand description
Errors specific to the roaring layer. These are concerned with bitmap operations and value-specific semantics.
Variants§
SerializationFailed(String)
Failed to serialize/deserialize RoaringTreemap
CompactionFailed(String)
Compaction operation failed
InvalidBitmap(String)
Invalid roaring bitmap data
SizeQueryFailed(String)
Size query failed
Trait Implementations§
Source§impl Debug for RoaringError
impl Debug for RoaringError
Source§impl Display for RoaringError
impl Display for RoaringError
Source§impl Error for RoaringError
impl Error for RoaringError
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()
Source§impl From<RoaringError> for Error
impl From<RoaringError> for Error
Source§fn from(err: RoaringError) -> Self
fn from(err: RoaringError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RoaringError
impl RefUnwindSafe for RoaringError
impl Send for RoaringError
impl Sync for RoaringError
impl Unpin for RoaringError
impl UnwindSafe for RoaringError
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