Skip to main content

RepairStrategy

Trait RepairStrategy 

Source
pub trait RepairStrategy: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn can_repair(&self, anomaly: &Anomaly) -> bool;
    fn repair(&self, anomaly: &Anomaly) -> RepairResult;
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn can_repair(&self, anomaly: &Anomaly) -> bool

Source

fn repair(&self, anomaly: &Anomaly) -> RepairResult

Implementors§