pub struct MetaSupervisor { /* private fields */ }Expand description
Meta-cognitive supervisor for system monitoring
Implementations§
Source§impl MetaSupervisor
impl MetaSupervisor
Sourcepub fn record_metrics(
&mut self,
response_time_ms: f32,
memory_usage_mb: f32,
attention_efficiency: f32,
goal_progress: f32,
error_rate: f32,
) -> PerformanceMetrics
pub fn record_metrics( &mut self, response_time_ms: f32, memory_usage_mb: f32, attention_efficiency: f32, goal_progress: f32, error_rate: f32, ) -> PerformanceMetrics
Record new performance metrics
Sourcepub fn evaluate_and_correct(&mut self) -> Option<String>
pub fn evaluate_and_correct(&mut self) -> Option<String>
Evaluate system performance and suggest corrections
Sourcepub fn analyze_trends(&self) -> (f32, f32)
pub fn analyze_trends(&self) -> (f32, f32)
Analyze trends in performance metrics
Sourcepub fn get_summary(&self) -> (f32, f32, f32)
pub fn get_summary(&self) -> (f32, f32, f32)
Get performance summary
Sourcepub fn add_correction_strategy(&mut self, strategy: &str)
pub fn add_correction_strategy(&mut self, strategy: &str)
Add a custom correction strategy
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaSupervisor
impl RefUnwindSafe for MetaSupervisor
impl Send for MetaSupervisor
impl Sync for MetaSupervisor
impl Unpin for MetaSupervisor
impl UnsafeUnpin for MetaSupervisor
impl UnwindSafe for MetaSupervisor
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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