Enum mentat::ProjectorError
[−]
[src]
pub enum ProjectorError { NotYetImplemented(String), CannotProjectImpossibleBinding(SimpleAggregationOp), CannotApplyAggregateOperationToTypes(SimpleAggregationOp, ValueTypeSet), InvalidProjection(String), UnboundVariable(PlainSymbol), NoTypeAvailableForVariable(PlainSymbol), UnexpectedResultsType(&'static str, &'static str), AmbiguousAggregates(usize, usize), RusqliteError(String), DbError(DbError), PullError(PullError), }
Variants
NotYetImplemented(String)
We're just not done yet. Message that the feature is recognized but not yet implemented.
CannotProjectImpossibleBinding(SimpleAggregationOp)
CannotApplyAggregateOperationToTypes(SimpleAggregationOp, ValueTypeSet)
InvalidProjection(String)
UnboundVariable(PlainSymbol)
NoTypeAvailableForVariable(PlainSymbol)
UnexpectedResultsType(&'static str, &'static str)
AmbiguousAggregates(usize, usize)
RusqliteError(String)
DbError(DbError)
PullError(PullError)
Trait Implementations
impl Fail for ProjectorError
[src]
impl Fail for ProjectorError
fn cause(&self) -> Option<&(Fail + 'static)>
[src]
fn cause(&self) -> Option<&(Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
fn compat(self) -> Compat<Self>
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
ⓘImportant traits for Causes<'f>fn causes(&self) -> Causes
fn causes(&self) -> Causes
Returns a iterator over the causes of this Fail
with itself as the first item and the root_cause
as the final item. Read more
fn root_cause(&self) -> &(Fail + 'static)
fn root_cause(&self) -> &(Fail + 'static)
Returns the "root cause" of this Fail
- the last value in the cause chain which does not return an underlying cause
. Read more
impl From<Error> for ProjectorError
[src]
impl From<Error> for ProjectorError
fn from(error: Error) -> ProjectorError
[src]
fn from(error: Error) -> ProjectorError
Performs the conversion.
impl From<DbError> for ProjectorError
[src]
impl From<DbError> for ProjectorError
fn from(error: DbError) -> ProjectorError
[src]
fn from(error: DbError) -> ProjectorError
Performs the conversion.
impl From<PullError> for ProjectorError
[src]
impl From<PullError> for ProjectorError
fn from(error: PullError) -> ProjectorError
[src]
fn from(error: PullError) -> ProjectorError
Performs the conversion.
impl Display for ProjectorError
[src]
impl Display for ProjectorError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Debug for ProjectorError
[src]
impl Debug for ProjectorError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<ProjectorError> for MentatError
[src]
impl From<ProjectorError> for MentatError
fn from(error: ProjectorError) -> MentatError
[src]
fn from(error: ProjectorError) -> MentatError
Performs the conversion.
Auto Trait Implementations
impl Send for ProjectorError
impl Send for ProjectorError
impl Sync for ProjectorError
impl Sync for ProjectorError