Enum sqlx_migrate::Error [−][src]
pub enum Error {
Database(Error),
InvalidVersion {
version: u64,
min_version: u64,
max_version: u64,
},
NoMigrations,
MissingMigrations {
local_count: usize,
db_count: usize,
},
Migration {
name: Cow<'static, str>,
version: u64,
error: MigrationError,
},
Revert {
name: Cow<'static, str>,
version: u64,
error: MigrationError,
},
NameMismatch {
version: u64,
local_name: Cow<'static, str>,
db_name: Cow<'static, str>,
},
ChecksumMismatch {
version: u64,
local_checksum: Cow<'static, [u8]>,
db_checksum: Cow<'static, [u8]>,
},
}Expand description
An aggregated error type for the Migrator.
Variants
Database(Error)
InvalidVersion
NoMigrations
MissingMigrations
Migration
Revert
NameMismatch
ChecksumMismatch
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
