pub enum ConsolidateError {
Segment(SegmentError),
Store(StoreError),
Geometry(String),
DuplicateDocument {
doc_id: u128,
},
Lexical(String),
CheckpointIo {
path: PathBuf,
source: Error,
},
CheckpointCorrupt(String),
}Expand description
Typed failure of the consolidation merge pass or its checkpoint.
Variants§
Segment(SegmentError)
Reading or writing a segment failed its validated contract.
Store(StoreError)
Store lifecycle, accounting, or filesystem failure.
Geometry(String)
Checked geometry over merged rows was violated.
DuplicateDocument
Two live rows across the merge inputs share one document id.
Lexical(String)
Rebuilding the merged lexical region failed.
CheckpointIo
Reading, replacing, or removing the consolidation checkpoint failed.
Fields
CheckpointCorrupt(String)
Checkpoint bytes failed their closed contract.
Trait Implementations§
Source§impl Debug for ConsolidateError
impl Debug for ConsolidateError
Source§impl Display for ConsolidateError
impl Display for ConsolidateError
Source§impl Error for ConsolidateError
impl Error for ConsolidateError
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<SegmentError> for ConsolidateError
impl From<SegmentError> for ConsolidateError
Source§fn from(error: SegmentError) -> Self
fn from(error: SegmentError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for ConsolidateError
impl From<StoreError> for ConsolidateError
Source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ConsolidateError
impl !UnwindSafe for ConsolidateError
impl Freeze for ConsolidateError
impl Send for ConsolidateError
impl Sync for ConsolidateError
impl Unpin for ConsolidateError
impl UnsafeUnpin for ConsolidateError
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