Trait WrapMigrationError

Source
pub trait WrapMigrationError<T, E> {
    // Required method
    fn migration_err(
        self,
        msg: &str,
        report: Option<&[Migration]>,
    ) -> Result<T, Error>;
}

Required Methods§

Source

fn migration_err( self, msg: &str, report: Option<&[Migration]>, ) -> Result<T, Error>

Implementations on Foreign Types§

Source§

impl<T, E> WrapMigrationError<T, E> for Result<T, E>
where E: Error + Send + Sync + 'static,

Source§

fn migration_err( self, msg: &str, applied_migrations: Option<&[Migration]>, ) -> Result<T, Error>

Implementors§