Enum diesel::migration::MigrationError [−][src]
pub enum MigrationError {
MigrationDirectoryNotFound,
UnknownMigrationFormat(PathBuf),
IoError(Error),
UnknownMigrationVersion(String),
NoMigrationRun,
// some variants omitted
}Expand description
Errors that occur while preparing to run migrations
Variants
The migration directory wasn’t found
UnknownMigrationFormat(PathBuf)Provided migration was in an unknown format
Tuple Fields of UnknownMigrationFormat
0: PathBufIoError(Error)General system IO error
Tuple Fields of IoError
0: ErrorUnknownMigrationVersion(String)Provided migration had an incompatible version number
Tuple Fields of UnknownMigrationVersion
0: StringNo migrations had to be/ could be run
Trait Implementations
Performs the conversion.