Expand description
Runtime component registration primitives.
This module ties together the reusable runtime registries that already live in this crate. It lets product crates describe subsystems once, then attach health checks and shutdown phases without duplicating central dispatch tables. Product crates still own resource construction, application state assembly, business-specific startup ordering, and how reports are exposed.
Component dependencies are enforced by RuntimeComponentRegistry when it
runs component-owned shutdown phases. Lower-level coordinators such as
crate::ShutdownCoordinator remain simple ordered executors for callers
that already have a fixed sequence.
Structs§
- Runtime
Component Builder - Builder for one runtime component registration.
- Runtime
Component Descriptor - Static metadata for a registered runtime component.
- Runtime
Component Registry - Registry for runtime component metadata and lifecycle hooks.
- Runtime
Shutdown Descriptor - Static shutdown metadata for a registered component.
- Runtime
Startup Descriptor - Static startup metadata for a registered component.
- Runtime
Task Descriptor - Static runtime task metadata for a registered component.
Enums§
- Runtime
Component Graph Error - Component dependency graph validation error.
- Runtime
Component Kind - Broad category for a registered runtime component.
Traits§
- Runtime
Component Bundle - Product-owned runtime component bundle.