Enum diesel::migration::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
Tuple Fields of MigrationError
QueryError(Error)
The provided migration included an invalid query
Tuple Fields of QueryError
0: Error
The provided migration was empty
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.