Enum diesel::migrations::MigrationError
[−]
[src]
pub enum MigrationError {
MigrationDirectoryNotFound,
UnknownMigrationFormat(PathBuf),
IoError(Error),
UnknownMigrationVersion(String),
NoMigrationRun,
}Variants
MigrationDirectoryNotFoundUnknownMigrationFormat(PathBuf)IoError(Error)UnknownMigrationVersion(String)NoMigrationRunTrait Implementations
impl Debug for MigrationError[src]
impl Error for MigrationError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0
The lower-level cause of this error, if any. Read more
impl Display for MigrationError[src]
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) -> bool1.0.0
This method tests for !=.