Skip to main content

SchemaReport

Trait SchemaReport 

Source
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§

Source

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".

Implementors§