pub trait ReconcileTrigger: Send + Sync {
// Required method
fn trigger(&self, kb: &KbSlug) -> Result<(), ReconcileBusy>;
}Expand description
Starts a reconciliation pass for one knowledge base (D67).
Synchronous on purpose: an implementation only claims the knowledge base’s slot and spawns the pass, so the route answers before any bucket is listed.
Required Methods§
Sourcefn trigger(&self, kb: &KbSlug) -> Result<(), ReconcileBusy>
fn trigger(&self, kb: &KbSlug) -> Result<(), ReconcileBusy>
Start a pass, or report that one is already running.
§Errors
ReconcileBusy when the knowledge base’s previous pass has not finished.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".