pub trait FaultScenario {
// Required methods
fn name(&self) -> &str;
fn description(&self) -> &str;
fn next_sample(&mut self, step: u64) -> Option<ResidualSample>;
fn expected_reason_code(&self) -> ReasonCode;
fn total_steps(&self) -> u64;
fn reset(&mut self);
fn injection_start(&self) -> u64;
}Expand description
A deterministic fault scenario producing a time-series of residual samples.