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 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.