pub trait StickyModelFallbackMachineCommit: Send + Sync {
// Required method
fn commit(self: Box<Self>) -> Result<(), DslTransitionError>;
}Expand description
One-shot generated-authority commit staged for an exact sticky fallback.
Staging previews the generated transition against an exact authority snapshot without publishing it. Consuming this token commits only if that snapshot is still current, so a durable coordinator can place its session compare-and-swap between generated preauthorization and synchronous machine publication without allowing a caller to replay the transition.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".