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

MigrationDirectoryNotFound

The migration directory wasn’t found

UnknownMigrationFormat(PathBuf)

Provided migration was in an unknown format

IoError(Error)

General system IO error

UnknownMigrationVersion(String)

Provided migration had an incompatible version number

NoMigrationRun

No migrations had to be/ could be run

Trait Implementations

impl Debug for MigrationError[src]

impl Display for MigrationError[src]

impl Error for MigrationError[src]

impl From<Error> for MigrationError[src]

impl From<MigrationError> for RunMigrationsError[src]

impl PartialEq<MigrationError> for MigrationError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.