pub struct AgentChecker { /* private fields */ }Expand description
Agent Checker main system
Implementations§
Source§impl AgentChecker
impl AgentChecker
Sourcepub fn new(auto_save_frequency: usize) -> Self
pub fn new(auto_save_frequency: usize) -> Self
Create a new agent checker with specified auto-save frequency
Sourcepub fn process_input(&self, input: &str) -> Result<(), String>
pub fn process_input(&self, input: &str) -> Result<(), String>
Process input and auto-save every Nth input
Sourcepub fn get_system_stage(&self) -> SystemStage
pub fn get_system_stage(&self) -> SystemStage
Get current system stage
Sourcepub fn get_system_health(&self) -> SystemHealth
pub fn get_system_health(&self) -> SystemHealth
Get system health metrics
Sourcepub fn check_component_status(
&self,
component_name: &str,
) -> Option<ComponentStatus>
pub fn check_component_status( &self, component_name: &str, ) -> Option<ComponentStatus>
Check component readiness
Sourcepub fn update_component_status(
&self,
component_name: &str,
status: f64,
metrics: HashMap<String, f64>,
issues: Vec<String>,
)
pub fn update_component_status( &self, component_name: &str, status: f64, metrics: HashMap<String, f64>, issues: Vec<String>, )
Update component status
Sourcepub fn validate_system_readiness(&self) -> (bool, SystemStage, Vec<String>)
pub fn validate_system_readiness(&self) -> (bool, SystemStage, Vec<String>)
Validate system readiness against thresholds
Sourcepub fn get_input_stats(&self) -> (usize, usize, Duration)
pub fn get_input_stats(&self) -> (usize, usize, Duration)
Get input buffer stats
Auto Trait Implementations§
impl Freeze for AgentChecker
impl RefUnwindSafe for AgentChecker
impl Send for AgentChecker
impl Sync for AgentChecker
impl Unpin for AgentChecker
impl UnwindSafe for AgentChecker
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