pub enum BitmapError {
LimitsExceeded {
value: u64,
max: u64,
},
GrowFailed(GrowFailed),
BorrowConflict,
Io(String),
}Expand description
Error returned by RoaringBitmap::new and mutating methods (set, ensure_len, checkpoint I/O, …).
Variants§
LimitsExceeded
len or index + 1 exceeds the supported logical bit length.
GrowFailed(GrowFailed)
Stable memory could not be grown for a write or checkpoint.
BorrowConflict
A ContainsView still borrows the heap mirror, so a state-changing operation cannot run.
Io(String)
Snapshot serialization or stable write failed (roaring / std::io::Write path).
Trait Implementations§
Source§impl Debug for BitmapError
impl Debug for BitmapError
Source§impl Display for BitmapError
impl Display for BitmapError
impl Eq for BitmapError
Source§impl Error for BitmapError
impl Error for BitmapError
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<Error> for BitmapError
impl From<Error> for BitmapError
Source§impl From<GrowFailed> for BitmapError
impl From<GrowFailed> for BitmapError
Source§fn from(value: GrowFailed) -> Self
fn from(value: GrowFailed) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BitmapError
impl PartialEq for BitmapError
impl StructuralPartialEq for BitmapError
Auto Trait Implementations§
impl Freeze for BitmapError
impl RefUnwindSafe for BitmapError
impl Send for BitmapError
impl Sync for BitmapError
impl Unpin for BitmapError
impl UnsafeUnpin for BitmapError
impl UnwindSafe for BitmapError
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