Skip to main content

StartupEvent

Enum StartupEvent 

Source
#[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

Fields

§phase: Phase
§

PhaseCompleted

Fields

§phase: Phase
§

PhaseFailed

Fields

§phase: Phase
§error: String
§

PortCheckStarted

Fields

§port: u16
§

PortAvailable

Fields

§port: u16
§

PortConflict

Fields

§port: u16
§pid: u32
§

PortConflictResolved

Fields

§port: u16
§

ModulesLoaded

Fields

§count: usize
§modules: Vec<ModuleInfo>
§

MigrationStarted

§

MigrationApplied

Fields

§name: String
§

MigrationComplete

Fields

§applied: usize
§skipped: usize
§

DatabaseValidated

§

McpServerStarting

Fields

§name: String
§port: u16
§

McpServerHealthCheck

Fields

§name: String
§attempt: u8
§max_attempts: u8
§

McpServerReady

Fields

§name: String
§port: u16
§startup_time: Duration
§tools: usize
§

McpServerFailed

Fields

§name: String
§error: String
§

McpServiceCleanup

Fields

§name: String
§reason: String
§

McpReconciliationComplete

Fields

§running: usize
§required: usize
§

AgentStarting

Fields

§name: String
§port: u16
§

AgentReady

Fields

§name: String
§port: u16
§startup_time: Duration
§

AgentFailed

Fields

§name: String
§error: String
§

AgentCleanup

Fields

§name: String
§reason: String
§

AgentReconciliationComplete

Fields

§running: usize
§total: usize
§

RoutesConfiguring

§

RoutesConfigured

Fields

§module_count: usize
§

ExtensionRouteMounted

Fields

§name: String
§path: String
§auth_required: bool
§

ServerBinding

Fields

§address: String
§

ServerListening

Fields

§address: String
§pid: u32
§

SchedulerInitializing

§

SchedulerJobRegistered

Fields

§name: String
§schedule: String
§

SchedulerReady

Fields

§job_count: usize
§

BootstrapJobStarted

Fields

§name: String
§

BootstrapJobCompleted

Fields

§name: String
§success: bool
§message: Option<String>
§

Warning

Fields

§message: String
§context: Option<String>
§

Error

Fields

§message: String
§fatal: bool
§

Info

Fields

§message: String
§

StartupComplete

Fields

§duration: Duration
§api_url: String
§services: Vec<ServiceInfo>
§

StartupFailed

Fields

§error: String
§duration: Duration

Trait Implementations§

Source§

impl Clone for StartupEvent

Source§

fn clone(&self) -> StartupEvent

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StartupEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.