#[non_exhaustive]pub enum TableError {
Create {
source: CreateTableError,
},
Open {
source: OpenTableError,
},
StateAccess {
source: TableStateAccessError,
},
Append {
source: AppendError,
},
Scan {
source: ScanError,
},
CoverageQuery {
source: CoverageQueryError,
},
Optimize {
source: OptimizeError,
},
Vacuum {
source: VacuumError,
},
}Expand description
Errors from high-level time-series table operations.
Each variant carries enough context for callers to surface actionable messages to users or implement retries where appropriate (for example, conflicts on optimistic concurrency control).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Create
A table creation operation failed.
Fields
source: CreateTableErrorComplete table creation failure.
Open
A table open operation failed.
Fields
source: OpenTableErrorComplete table open failure.
StateAccess
A table state access or refresh operation failed.
Fields
source: TableStateAccessErrorComplete state-access failure.
Append
An append operation failed.
Fields
source: AppendErrorComplete append-owned failure.
Scan
A table scan failed during planning or lazy execution.
CoverageQuery
A table coverage query failed.
Fields
source: CoverageQueryErrorComplete coverage query operation error.
Optimize
An entity-layout optimization operation failed.
Fields
source: OptimizeErrorComplete optimization-owned failure.
Vacuum
A vacuum operation failed.
Fields
source: VacuumErrorComplete vacuum-owned failure.
Trait Implementations§
Source§impl Debug for TableError
impl Debug for TableError
Source§impl Display for TableError
impl Display for TableError
Source§impl Error for TableError
impl Error for TableError
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 TableError
impl ErrorCompat for TableError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
Error::source. Read moreAuto Trait Implementations§
impl !Freeze for TableError
impl !RefUnwindSafe for TableError
impl !UnwindSafe for TableError
impl Send for TableError
impl Sync for TableError
impl Unpin for TableError
impl UnsafeUnpin for TableError
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