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§