Expand description
Plugin lifecycle state machine.
Each plugin moves through a defined lifecycle:
Loaded → Linked → Initialized → Active → Draining → RemovedThe state machine is encapsulated here so hot reload (M10 cutover)
can drain in-flight references through Arc::clone semantics before
swapping in the new instance.
Structs§
- Epoch
Fenced Reload - Orchestrator for an atomic plugin reload — implements the proposal’s §11.2 epoch-fenced cutover.
- Plugin
Lifecycle - Per-plugin lifecycle handle.
Enums§
- Drain
Error - Drain operation errors.
- Lifecycle
State - Discrete lifecycle state.
Type Aliases§
- Shared
Lifecycle - Shared lifecycle handle suitable for capturing in plan / query closures.