Enum diesel::migration::RunMigrationsError[][src]

pub enum RunMigrationsError {
    MigrationError(MigrationError),
    QueryError(Error),
    EmptyMigration,
    // some variants omitted
}

Errors that occur while running migrations

Variants

A general migration error occured

The provided migration included an invalid query

The provided migration was empty

Trait Implementations

impl Debug for RunMigrationsError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RunMigrationsError
[src]

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

This method tests for !=.

impl Error for RunMigrationsError
[src]

This method is soft-deprecated. Read more

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

impl Display for RunMigrationsError
[src]

Formats the value using the given formatter. Read more

impl From<MigrationError> for RunMigrationsError
[src]

Performs the conversion.

impl From<Error> for RunMigrationsError
[src]

Performs the conversion.

impl From<Error> for RunMigrationsError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for RunMigrationsError

impl Sync for RunMigrationsError