pub enum PlannerError {
Show 14 variants
TableExists(String),
TableNotFound(String),
ColumnExists(String, String),
ColumnNotFound(String, String),
IndexNotFound(String, String),
DuplicateTableName(String),
ForeignKeyTableNotFound(String, String, String),
ForeignKeyColumnNotFound(String, String, String, String),
IndexColumnNotFound(String, String, String),
ConstraintColumnNotFound(String, String, String),
EmptyConstraintColumns(String, String),
MissingFillWith(String, String),
TableValidation(String),
MissingPrimaryKey(String),
}Variants§
TableExists(String)
TableNotFound(String)
ColumnExists(String, String)
ColumnNotFound(String, String)
IndexNotFound(String, String)
DuplicateTableName(String)
ForeignKeyTableNotFound(String, String, String)
ForeignKeyColumnNotFound(String, String, String, String)
IndexColumnNotFound(String, String, String)
ConstraintColumnNotFound(String, String, String)
EmptyConstraintColumns(String, String)
MissingFillWith(String, String)
TableValidation(String)
MissingPrimaryKey(String)
Trait Implementations§
Source§impl Debug for PlannerError
impl Debug for PlannerError
Source§impl Display for PlannerError
impl Display for PlannerError
Source§impl Error for PlannerError
impl Error for PlannerError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for PlannerError
impl RefUnwindSafe for PlannerError
impl Send for PlannerError
impl Sync for PlannerError
impl Unpin for PlannerError
impl UnwindSafe for PlannerError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more