pub enum Error {
Show 22 variants
Database(Box<dyn Error>),
ODBC(Error),
Execute(ExecuteError),
Alter(AlterError),
Create(CreateError),
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)
Create(CreateError)
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§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AlterError> for Error
impl From<AlterError> for Error
Source§fn from(source: AlterError) -> Self
fn from(source: AlterError) -> Self
Converts to this type from the input type.
Source§impl From<CSVDatabaseError> for Error
impl From<CSVDatabaseError> for Error
Source§fn from(source: CSVDatabaseError) -> Self
fn from(source: CSVDatabaseError) -> Self
Converts to this type from the input type.
Source§impl From<CreateError> for Error
impl From<CreateError> for Error
Source§fn from(source: CreateError) -> Self
fn from(source: CreateError) -> Self
Converts to this type from the input type.
Source§impl From<DatabaseError> for Error
impl From<DatabaseError> for Error
Source§fn from(source: DatabaseError) -> Self
fn from(source: DatabaseError) -> Self
Converts to this type from the input type.
Source§impl From<ExecuteError> for Error
impl From<ExecuteError> for Error
Source§fn from(source: ExecuteError) -> Self
fn from(source: ExecuteError) -> Self
Converts to this type from the input type.
Source§impl From<FetchError> for Error
impl From<FetchError> for Error
Source§fn from(source: FetchError) -> Self
fn from(source: FetchError) -> Self
Converts to this type from the input type.
Source§impl From<InterfaceError> for Error
impl From<InterfaceError> for Error
Source§fn from(source: InterfaceError) -> Self
fn from(source: InterfaceError) -> Self
Converts to this type from the input type.
Source§impl From<ManualError> for Error
impl From<ManualError> for Error
Source§fn from(source: ManualError) -> Self
fn from(source: ManualError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryDatabaseError> for Error
impl From<MemoryDatabaseError> for Error
Source§fn from(source: MemoryDatabaseError) -> Self
fn from(source: MemoryDatabaseError) -> Self
Converts to this type from the input type.
Source§impl From<QueryError> for Error
impl From<QueryError> for Error
Source§fn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<RecipeError> for Error
impl From<RecipeError> for Error
Source§fn from(source: RecipeError) -> Self
fn from(source: RecipeError) -> Self
Converts to this type from the input type.
Source§impl From<SelectError> for Error
impl From<SelectError> for Error
Source§fn from(source: SelectError) -> Self
fn from(source: SelectError) -> Self
Converts to this type from the input type.
Source§impl From<SheetDatabaseError> for Error
impl From<SheetDatabaseError> for Error
Source§fn from(source: SheetDatabaseError) -> Self
fn from(source: SheetDatabaseError) -> Self
Converts to this type from the input type.
Source§impl From<TableError> for Error
impl From<TableError> for Error
Source§fn from(source: TableError) -> Self
fn from(source: TableError) -> Self
Converts to this type from the input type.
Source§impl From<ValidateError> for Error
impl From<ValidateError> for Error
Source§fn from(source: ValidateError) -> Self
fn from(source: ValidateError) -> Self
Converts to this type from the input type.
Source§impl From<ValueError> for Error
impl From<ValueError> for Error
Source§fn 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§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
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<Core, Value> ConvertFrom<Value> for Core
impl<Core, Value> ConvertFrom<Value> for Core
fn convert_from(value: Value) -> Result<Core, Error>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Separable for Twhere
T: Display,
impl<T> Separable for Twhere
T: Display,
Source§fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given
SeparatorPolicy
. Read moreSource§fn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
Source§fn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
Source§fn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
Source§fn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more