pub enum PostprocessingError {
InvalidSliceIndex {
index: i128,
},
ColumnNotFound {
column: String,
},
ExpressionEvaluationError {
source: ExpressionEvaluationError,
},
OwnedTableError {
source: OwnedTableError,
},
IdentifierNotInAggregationOperatorOrGroupByClause {
column: Identifier,
},
AggregateColumnsError {
source: AggregateColumnsError,
},
OwnedColumnError {
source: OwnedColumnError,
},
NestedAggregationInGroupByClause {
error: String,
},
}
Expand description
Errors in postprocessing
Variants§
InvalidSliceIndex
Error in slicing due to slice index beyond usize
ColumnNotFound
Column not found
ExpressionEvaluationError
Errors in evaluation of Expression
s
Fields
§
source: ExpressionEvaluationError
The underlying source error
OwnedTableError
Errors in constructing OwnedTable
Fields
§
source: OwnedTableError
The underlying source error
IdentifierNotInAggregationOperatorOrGroupByClause
GROUP BY clause references a column not in a group by expression outside aggregate functions
Fields
§
column: Identifier
The column identifier
AggregateColumnsError
Errors in aggregate columns
Fields
§
source: AggregateColumnsError
The underlying source error
OwnedColumnError
Errors in OwnedColumn
Fields
§
source: OwnedColumnError
The underlying source error
NestedAggregationInGroupByClause
Nested aggregation in GROUP BY
clause
Trait Implementations§
source§impl Debug for PostprocessingError
impl Debug for PostprocessingError
source§impl Display for PostprocessingError
impl Display for PostprocessingError
source§impl Error for PostprocessingError
impl Error for PostprocessingError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl ErrorCompat for PostprocessingError
impl ErrorCompat for PostprocessingError
source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moresource§impl From<ExpressionEvaluationError> for PostprocessingError
impl From<ExpressionEvaluationError> for PostprocessingError
source§fn from(error: ExpressionEvaluationError) -> Self
fn from(error: ExpressionEvaluationError) -> Self
Converts to this type from the input type.
source§impl From<OwnedColumnError> for PostprocessingError
impl From<OwnedColumnError> for PostprocessingError
source§fn from(error: OwnedColumnError) -> Self
fn from(error: OwnedColumnError) -> Self
Converts to this type from the input type.
source§impl From<PostprocessingError> for ConversionError
impl From<PostprocessingError> for ConversionError
source§fn from(error: PostprocessingError) -> Self
fn from(error: PostprocessingError) -> Self
Converts to this type from the input type.
source§impl PartialEq for PostprocessingError
impl PartialEq for PostprocessingError
impl Eq for PostprocessingError
impl StructuralPartialEq for PostprocessingError
Auto Trait Implementations§
impl Freeze for PostprocessingError
impl RefUnwindSafe for PostprocessingError
impl Send for PostprocessingError
impl Sync for PostprocessingError
impl Unpin for PostprocessingError
impl UnwindSafe for PostprocessingError
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)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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>
Converts
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>
Converts
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