#[non_exhaustive]pub enum CoverageQueryError {
Show 13 variants
InvalidRange {
source: IndexValueError,
backtrace: Box<Backtrace>,
},
IndexIntervalMapping {
source: IndexIntervalMappingError,
backtrace: Box<Backtrace>,
},
InvalidEntityIdentity {
source: EntityIdentityError,
backtrace: Box<Backtrace>,
},
SchemaCompatibility {
source: Box<SchemaCompatibilityError>,
},
EntityIdentityRequired {
entity_columns: Vec<String>,
backtrace: Box<Backtrace>,
},
EntityIdentityNotConfigured {
backtrace: Box<Backtrace>,
},
MissingEntityIdentityColumn {
column: String,
backtrace: Box<Backtrace>,
},
DuplicateEntityIdentityColumn {
column: String,
backtrace: Box<Backtrace>,
},
UnexpectedEntityIdentityColumn {
column: String,
backtrace: Box<Backtrace>,
},
CoverageSnapshotRead {
coverage_path: String,
source: Box<CoverageSidecarError>,
},
ExistingSegmentMissingCoverageMetadata {
segment_path: String,
backtrace: Box<Backtrace>,
},
SegmentCoverageSidecarRead {
segment_path: String,
coverage_path: String,
source: Box<CoverageSidecarError>,
},
MissingTableCoveragePointer {
backtrace: Box<Backtrace>,
},
}Expand description
Errors from table coverage queries and read-only coverage recovery.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidRange
The requested half-open ordered-index range is invalid.
Fields
source: IndexValueErrorComplete range validation error.
IndexIntervalMapping
An ordered value could not be mapped to its index interval ID.
Fields
source: IndexIntervalMappingErrorComplete interval mapping error.
InvalidEntityIdentity
Constructing a canonical entity identity failed.
Fields
source: EntityIdentityErrorComplete entity identity construction error.
SchemaCompatibility
The query identity is incompatible with the table schema.
Fields
source: Box<SchemaCompatibilityError>Complete schema compatibility error.
EntityIdentityRequired
An identity-free query was used on an entity-aware table.
Fields
EntityIdentityNotConfigured
An entity-aware query was used on a table with global coverage.
MissingEntityIdentityColumn
A required entity column has no caller-provided value.
Fields
DuplicateEntityIdentityColumn
Caller input repeats one entity column.
Fields
UnexpectedEntityIdentityColumn
Caller input contains a column outside the entity identity.
Fields
CoverageSnapshotRead
Reading a table coverage snapshot sidecar failed.
Fields
source: Box<CoverageSidecarError>Complete sidecar error, including storage or codec detail.
ExistingSegmentMissingCoverageMetadata
An existing segment has no coverage sidecar path.
Fields
SegmentCoverageSidecarRead
Reading a segment sidecar failed during read-only recovery.
Fields
source: Box<CoverageSidecarError>Complete sidecar error, including storage or codec detail.
MissingTableCoveragePointer
Table state has segments but no coverage snapshot pointer.
Trait Implementations§
Source§impl Debug for CoverageQueryError
impl Debug for CoverageQueryError
Source§impl Display for CoverageQueryError
impl Display for CoverageQueryError
Source§impl Error for CoverageQueryError
impl Error for CoverageQueryError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl ErrorCompat for CoverageQueryError
impl ErrorCompat for CoverageQueryError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
Error::source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for CoverageQueryError
impl !UnwindSafe for CoverageQueryError
impl Freeze for CoverageQueryError
impl Send for CoverageQueryError
impl Sync for CoverageQueryError
impl Unpin for CoverageQueryError
impl UnsafeUnpin for CoverageQueryError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more