Enum diesel_migrations::RunMigrationsError [−][src]
pub enum RunMigrationsError { MigrationError(MigrationError), QueryError(Error), EmptyMigration, // some variants omitted }
Expand description
Errors that occur while running migrations
Variants
MigrationError(MigrationError)
A general migration error occured
QueryError(Error)
The provided migration included an invalid query
The provided migration was empty
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for RunMigrationsError
impl Send for RunMigrationsError
impl Sync for RunMigrationsError
impl Unpin for RunMigrationsError
impl !UnwindSafe for RunMigrationsError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more