pub trait CoordinationStoreProvider: Send + Sync {
// Required methods
fn schema_version(&self) -> ProviderResult<u64>;
fn health(&self) -> ProviderResult<()>;
// Provided method
fn ensure_compatible(&self) -> ProviderResult<()> { ... }
}Expand description
Backend contract for the Runtime-owned coordination schema.
Runtime nodes normally reach this store through a control-plane provider. This contract exists for control-plane implementations and deliberately does not expose generic business-data reads or writes.
Required Methods§
Sourcefn schema_version(&self) -> ProviderResult<u64>
fn schema_version(&self) -> ProviderResult<u64>
Returns the latest migration version applied by the provider.
Sourcefn health(&self) -> ProviderResult<()>
fn health(&self) -> ProviderResult<()>
Verifies backend connectivity and schema access.
Provided Methods§
Sourcefn ensure_compatible(&self) -> ProviderResult<()>
fn ensure_compatible(&self) -> ProviderResult<()>
Rejects stores that do not implement the schema required by this Runtime.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".