Enum diesel::migrations::RunMigrationsError
[−]
[src]
pub enum RunMigrationsError {
MigrationError(MigrationError),
QueryError(Error),
EmptyMigration,
}Variants
MigrationError(MigrationError)QueryError(Error)EmptyMigration
Trait Implementations
impl Debug for RunMigrationsError[src]
impl PartialEq for RunMigrationsError[src]
fn eq(&self, __arg_0: &RunMigrationsError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &RunMigrationsError) -> bool[src]
This method tests for !=.
impl Error for RunMigrationsError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for RunMigrationsError[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl From<MigrationError> for RunMigrationsError[src]
fn from(e: MigrationError) -> Self[src]
Performs the conversion.