pub trait ToMigrationResult<E> {
// Required method
fn to_migration_result<M>(self, migration: &M) -> MigrationResult
where M: Migration + ?Sized;
}
Expand description
Converting the Result<AppliedMigration, E>
of a migration attempt to the
pretty-printable MigrationResult
(which combines Ok/Err).
Required Methods§
fn to_migration_result<M>(self, migration: &M) -> MigrationResult
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.