Enum diesel::migrations::RunMigrationsError
[−]
[src]
pub enum RunMigrationsError { MigrationError(MigrationError), QueryError(Error), }
Variants
MigrationError(MigrationError)
QueryError(Error)
Trait Implementations
impl PartialEq for RunMigrationsError
[src]
fn eq(&self, __arg_0: &RunMigrationsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RunMigrationsError) -> bool
This method tests for !=
.
impl Debug for RunMigrationsError
[src]
impl Error for RunMigrationsError
[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 RunMigrationsError
[src]
impl From<MigrationError> for RunMigrationsError
[src]
fn from(e: MigrationError) -> Self
Performs the conversion.