pub struct SystemValidator { /* private fields */ }
Expand description
System validation and health check coordinator
Implementations§
Source§impl SystemValidator
impl SystemValidator
Sourcepub fn new(config_profile: McpConfigProfile) -> Self
pub fn new(config_profile: McpConfigProfile) -> Self
Create a new system validator
Sourcepub fn with_performance_monitor(self, monitor: PerformanceMonitor) -> Self
pub fn with_performance_monitor(self, monitor: PerformanceMonitor) -> Self
Set performance monitor for validation
Sourcepub fn with_tool_manager(self, tool_manager: DynamicToolManager) -> Self
pub fn with_tool_manager(self, tool_manager: DynamicToolManager) -> Self
Set tool manager for validation
Sourcepub async fn validate_system(&mut self) -> Result<ValidationResult>
pub async fn validate_system(&mut self) -> Result<ValidationResult>
Perform comprehensive system validation
Sourcepub async fn generate_startup_report(
&mut self,
_server: &CodePrismMcpServer,
) -> Result<StartupReport>
pub async fn generate_startup_report( &mut self, _server: &CodePrismMcpServer, ) -> Result<StartupReport>
Generate startup health report
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SystemValidator
impl RefUnwindSafe for SystemValidator
impl Send for SystemValidator
impl Sync for SystemValidator
impl Unpin for SystemValidator
impl UnwindSafe for SystemValidator
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more