#[non_exhaustive]pub enum StartupEvent {
Show 38 variants
PhaseStarted {
phase: Phase,
},
PhaseCompleted {
phase: Phase,
},
PhaseFailed {
phase: Phase,
error: String,
},
PortCheckStarted {
port: u16,
},
PortAvailable {
port: u16,
},
PortConflict {
port: u16,
pid: u32,
},
PortConflictResolved {
port: u16,
},
ModulesLoaded {
count: usize,
modules: Vec<ModuleInfo>,
},
MigrationStarted,
MigrationApplied {
name: String,
},
MigrationComplete {
applied: usize,
skipped: usize,
},
DatabaseValidated,
McpServerStarting {
name: String,
port: u16,
},
McpServerHealthCheck {
name: String,
attempt: u8,
max_attempts: u8,
},
McpServerReady {
name: String,
port: u16,
startup_time: Duration,
tools: usize,
},
McpServerFailed {
name: String,
error: String,
},
McpServiceCleanup {
name: String,
reason: String,
},
McpReconciliationComplete {
running: usize,
required: usize,
},
AgentStarting {
name: String,
port: u16,
},
AgentReady {
name: String,
port: u16,
startup_time: Duration,
},
AgentFailed {
name: String,
error: String,
},
AgentCleanup {
name: String,
reason: String,
},
AgentReconciliationComplete {
running: usize,
total: usize,
},
RoutesConfiguring,
RoutesConfigured {
module_count: usize,
},
ExtensionRouteMounted {
name: String,
path: String,
auth_required: bool,
},
ServerBinding {
address: String,
},
ServerListening {
address: String,
pid: u32,
},
SchedulerInitializing,
SchedulerJobRegistered {
name: String,
schedule: String,
},
SchedulerReady {
job_count: usize,
},
BootstrapJobStarted {
name: String,
},
BootstrapJobCompleted {
name: String,
success: bool,
message: Option<String>,
},
Warning {
message: String,
context: Option<String>,
},
Error {
message: String,
fatal: bool,
},
Info {
message: String,
},
StartupComplete {
duration: Duration,
api_url: String,
services: Vec<ServiceInfo>,
},
StartupFailed {
error: String,
duration: Duration,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PhaseStarted
PhaseCompleted
PhaseFailed
PortCheckStarted
PortAvailable
PortConflict
PortConflictResolved
ModulesLoaded
MigrationStarted
MigrationApplied
MigrationComplete
DatabaseValidated
McpServerStarting
McpServerHealthCheck
McpServerReady
McpServerFailed
McpServiceCleanup
McpReconciliationComplete
AgentStarting
AgentReady
AgentFailed
AgentCleanup
AgentReconciliationComplete
RoutesConfiguring
RoutesConfigured
ExtensionRouteMounted
ServerBinding
ServerListening
SchedulerInitializing
SchedulerJobRegistered
SchedulerReady
BootstrapJobStarted
BootstrapJobCompleted
Warning
Error
Info
StartupComplete
StartupFailed
Trait Implementations§
Source§impl Clone for StartupEvent
impl Clone for StartupEvent
Source§fn clone(&self) -> StartupEvent
fn clone(&self) -> StartupEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StartupEvent
impl RefUnwindSafe for StartupEvent
impl Send for StartupEvent
impl Sync for StartupEvent
impl Unpin for StartupEvent
impl UnwindSafe for StartupEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more