Enum diesel::migrations::RunMigrationsError [] [src]

pub enum RunMigrationsError {
    MigrationError(MigrationError),
    QueryError(Error),
}

Variants

MigrationError
QueryError

Trait Implementations

impl Error for RunMigrationsError

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

impl Display for RunMigrationsError

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

impl From<MigrationError> for RunMigrationsError

fn from(e: MigrationError) -> Self

impl From<Error> for RunMigrationsError

fn from(e: Error) -> Self

impl From<Error> for RunMigrationsError

fn from(e: Error) -> Self

impl From<TransactionError<RunMigrationsError>> for RunMigrationsError

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

Derived Implementations

impl PartialEq for RunMigrationsError

fn eq(&self, __arg_0: &RunMigrationsError) -> bool

fn ne(&self, __arg_0: &RunMigrationsError) -> bool

impl Debug for RunMigrationsError

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