Enum ft_sdk::MigrationError
source · pub enum MigrationError {
CanNotCreateMigrationTable(Error),
CanNotFindLatestAppliedMigrationNumber(Error),
InvalidMigration(InvalidMigrationError),
ApplyMigration(ApplyMigrationError),
}Variants§
CanNotCreateMigrationTable(Error)
CanNotFindLatestAppliedMigrationNumber(Error)
InvalidMigration(InvalidMigrationError)
ApplyMigration(ApplyMigrationError)
Trait Implementations§
source§impl Debug for MigrationError
impl Debug for MigrationError
source§impl Display for MigrationError
impl Display for MigrationError
source§impl Error for MigrationError
impl Error for MigrationError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for MigrationError
impl !RefUnwindSafe for MigrationError
impl Send for MigrationError
impl Sync for MigrationError
impl Unpin for MigrationError
impl !UnwindSafe for MigrationError
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<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more