pub trait SchemaReport: Send + Sync {
// Required method
fn schema_state(
&self,
) -> BoxFuture<'_, Result<SchemaState, RepositoryError>>;
}Expand description
Reports the durable schema version without changing it.
schema status never migrates. A migration is a separate, privileged
action of a dedicated migrator identity.
Required Methods§
Sourcefn schema_state(&self) -> BoxFuture<'_, Result<SchemaState, RepositoryError>>
fn schema_state(&self) -> BoxFuture<'_, Result<SchemaState, RepositoryError>>
Reads the installed and supported schema versions.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".