Enum diesel::migrations::MigrationError [] [src]

pub enum MigrationError {
    MigrationDirectoryNotFound,
    UnknownMigrationFormat(PathBuf),
    IoError(Error),
    UnknownMigrationVersion(String),
}

Variants

MigrationDirectoryNotFoundUnknownMigrationFormat(PathBuf)IoError(Error)UnknownMigrationVersion(String)

Trait Implementations

impl Debug for MigrationError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for MigrationError
[src]

fn eq(&self, other: &Self) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl From<Error> for MigrationError
[src]

fn from(e: Error) -> Self

Performs the conversion.