Skip to main content

Crate rskit_bootstrap

Crate rskit_bootstrap 

Source
Expand description

Application lifecycle orchestration: typestate App and startup summary.

Re-exports§

pub use app::App;
pub use app::AppBuilder;
pub use app::Built;
pub use app::Started;
pub use app::Stopped;
pub use app::Unconfigured;
pub use hooks::LifecycleEvent;
pub use hooks::LifecycleEventType;

Modules§

app
Typestate App and AppBuilder.
component
Lifecycle-managed component trait and lazy wrapper.
health
Health report types.
hooks
Lifecycle hook events. Bootstrap lifecycle phase metadata.
registry
Ordered component registry with state tracking.
state
Component lifecycle states.

Structs§

CancellationToken
A token which can be used to signal a cancellation request to one or more tasks.
Health
Health report from a single component.
LazyComponent
Wraps a component factory so construction is deferred until start().
Registry
Ordered component registry.
RegistryConfig
Configuration for the component registry.
StopResult
Detailed result for an attempted component stop.

Enums§

HealthStatus
Liveness state of a component.
State
Lifecycle state tracked for each registered component.

Traits§

Component
Lifecycle-managed infrastructure component.