Enum diesel::migration::MigrationError[][src]

pub enum MigrationError {
    MigrationDirectoryNotFound,
    UnknownMigrationFormat(PathBuf),
    IoError(Error),
    UnknownMigrationVersion(String),
    NoMigrationRun,
    // some variants omitted
}

Errors that occur while preparing to run migrations

Variants

The migration directory wasn't found

Provided migration was in an unknown format

General system IO error

Provided migration had an incompatible version number

No migrations had to be/ could be run

Trait Implementations

impl Debug for MigrationError
[src]

Formats the value using the given formatter. Read more

impl Error for MigrationError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for MigrationError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for MigrationError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Error> for MigrationError
[src]

Performs the conversion.

impl From<MigrationError> for RunMigrationsError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for MigrationError

impl Sync for MigrationError