Enum dbmigrate_lib::errors::ErrorKind[][src]

pub enum ErrorKind {
    Msg(String),
    Io(Error),
    Postgres(Error),
    MySQL(Error),
    Sqlite(Error),
    // some variants omitted
}
Expand description

The kind of an error.

Variants

Msg(String)

A convenient variant for String.

Tuple Fields of Msg

0: String
Io(Error)

Failed to created/read migration files

Tuple Fields of Io

0: Error
Postgres(Error)

Couldn’t get connection to pg database

Tuple Fields of Postgres

0: Error
MySQL(Error)

Any MySQL error

Tuple Fields of MySQL

0: Error
Sqlite(Error)

Any Sqlite error

Tuple Fields of Sqlite

0: Error

Implementations

A string describing the error kind.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.