pub struct ResponseSystem { /* private fields */ }Expand description
Main response system coordinating meta-learning and adaptive mitigation
Implementations§
Source§impl ResponseSystem
impl ResponseSystem
Sourcepub async fn mitigate(
&self,
threat: &ThreatIncident,
) -> Result<MitigationOutcome>
pub async fn mitigate( &self, threat: &ThreatIncident, ) -> Result<MitigationOutcome>
Apply mitigation to detected threat
Sourcepub async fn learn_from_result(&self, outcome: &MitigationOutcome) -> Result<()>
pub async fn learn_from_result(&self, outcome: &MitigationOutcome) -> Result<()>
Learn from mitigation outcome to improve future responses
Sourcepub async fn optimize(&self, feedback: &[FeedbackSignal]) -> Result<()>
pub async fn optimize(&self, feedback: &[FeedbackSignal]) -> Result<()>
Optimize strategies based on feedback signals
Sourcepub async fn metrics(&self) -> ResponseMetrics
pub async fn metrics(&self) -> ResponseMetrics
Get current system metrics
Trait Implementations§
Source§impl Clone for ResponseSystem
impl Clone for ResponseSystem
Source§fn clone(&self) -> ResponseSystem
fn clone(&self) -> ResponseSystem
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 ResponseSystem
impl !RefUnwindSafe for ResponseSystem
impl Send for ResponseSystem
impl Sync for ResponseSystem
impl Unpin for ResponseSystem
impl !UnwindSafe for ResponseSystem
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