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

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

Variants

MigrationDirectoryNotFound
UnknownMigrationFormat
IoError
UnknownMigrationVersion

Trait Implementations

impl Error for MigrationError

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

impl Display for MigrationError

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

impl PartialEq for MigrationError

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

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

impl From<Error> for MigrationError

fn from(e: Error) -> Self

Derived Implementations

impl Debug for MigrationError

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