pub enum Error {
Show 21 variants
Database(Box<dyn Error>),
ODBC(Error),
Execute(ExecuteError),
Alter(AlterError),
Fetch(FetchError),
Select(SelectError),
Row(RowError),
Table(TableError),
Value(ValueError),
Recipe(RecipeError),
Join(JoinError),
Plan(PlanError),
Manual(ManualError),
Query(QueryError),
Validate(ValidateError),
WIP(WIPError),
DatabaseImplementation(DatabaseError),
CSVDatabase(CSVDatabaseError),
SheetDatabase(SheetDatabaseError),
MemoryDatabase(MemoryDatabaseError),
Interface(InterfaceError),
}
Variants
Database(Box<dyn Error>)
ODBC(Error)
Execute(ExecuteError)
Alter(AlterError)
Fetch(FetchError)
Select(SelectError)
Row(RowError)
Table(TableError)
Value(ValueError)
Recipe(RecipeError)
Join(JoinError)
Plan(PlanError)
Manual(ManualError)
Query(QueryError)
Validate(ValidateError)
WIP(WIPError)
DatabaseImplementation(DatabaseError)
CSVDatabase(CSVDatabaseError)
SheetDatabase(SheetDatabaseError)
MemoryDatabase(MemoryDatabaseError)
Interface(InterfaceError)
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<AlterError> for Error
impl From<AlterError> for Error
sourcefn from(source: AlterError) -> Self
fn from(source: AlterError) -> Self
Converts to this type from the input type.
sourceimpl From<CSVDatabaseError> for Error
impl From<CSVDatabaseError> for Error
sourcefn from(source: CSVDatabaseError) -> Self
fn from(source: CSVDatabaseError) -> Self
Converts to this type from the input type.
sourceimpl From<DatabaseError> for Error
impl From<DatabaseError> for Error
sourcefn from(source: DatabaseError) -> Self
fn from(source: DatabaseError) -> Self
Converts to this type from the input type.
sourceimpl From<ExecuteError> for Error
impl From<ExecuteError> for Error
sourcefn from(source: ExecuteError) -> Self
fn from(source: ExecuteError) -> Self
Converts to this type from the input type.
sourceimpl From<FetchError> for Error
impl From<FetchError> for Error
sourcefn from(source: FetchError) -> Self
fn from(source: FetchError) -> Self
Converts to this type from the input type.
sourceimpl From<InterfaceError> for Error
impl From<InterfaceError> for Error
sourcefn from(source: InterfaceError) -> Self
fn from(source: InterfaceError) -> Self
Converts to this type from the input type.
sourceimpl From<ManualError> for Error
impl From<ManualError> for Error
sourcefn from(source: ManualError) -> Self
fn from(source: ManualError) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryDatabaseError> for Error
impl From<MemoryDatabaseError> for Error
sourcefn from(source: MemoryDatabaseError) -> Self
fn from(source: MemoryDatabaseError) -> Self
Converts to this type from the input type.
sourceimpl From<QueryError> for Error
impl From<QueryError> for Error
sourcefn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
sourceimpl From<RecipeError> for Error
impl From<RecipeError> for Error
sourcefn from(source: RecipeError) -> Self
fn from(source: RecipeError) -> Self
Converts to this type from the input type.
sourceimpl From<SelectError> for Error
impl From<SelectError> for Error
sourcefn from(source: SelectError) -> Self
fn from(source: SelectError) -> Self
Converts to this type from the input type.
sourceimpl From<SheetDatabaseError> for Error
impl From<SheetDatabaseError> for Error
sourcefn from(source: SheetDatabaseError) -> Self
fn from(source: SheetDatabaseError) -> Self
Converts to this type from the input type.
sourceimpl From<TableError> for Error
impl From<TableError> for Error
sourcefn from(source: TableError) -> Self
fn from(source: TableError) -> Self
Converts to this type from the input type.
sourceimpl From<TransactionError<Error>> for Error
impl From<TransactionError<Error>> for Error
sourcefn from(error: TransactionError<Error>) -> Error
fn from(error: TransactionError<Error>) -> Error
Converts to this type from the input type.
sourceimpl From<ValidateError> for Error
impl From<ValidateError> for Error
sourcefn from(source: ValidateError) -> Self
fn from(source: ValidateError) -> Self
Converts to this type from the input type.
sourceimpl From<ValueError> for Error
impl From<ValueError> for Error
sourcefn from(source: ValueError) -> Self
fn from(source: ValueError) -> Self
Converts to this type from the input type.
impl Send for Error
impl Sync for Error
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> Separable for T where
T: Display,
impl<T> Separable for T where
T: Display,
sourcefn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given SeparatorPolicy
. Read more
sourcefn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
sourcefn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
sourcefn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
sourcefn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more