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]

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

Formats the value using the given formatter.

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]

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

Formats the value using the given formatter.

impl From<MigrationError> for RunMigrationsError
[src]

fn from(e: MigrationError) -> Self

Performs the conversion.

impl From<Error> for RunMigrationsError
[src]

fn from(e: Error) -> Self

Performs the conversion.

impl From<Error> for RunMigrationsError
[src]

fn from(e: Error) -> Self

Performs the conversion.

impl From<TransactionError<RunMigrationsError>> for RunMigrationsError
[src]

fn from(e: TransactionError<RunMigrationsError>) -> Self

Performs the conversion.