pub trait UpdateFaultInjector: Send + Sync {
// Required method
fn check(&self, point: UpdateFaultPoint) -> UpdateResult<()>;
}Expand description
Fault-injection contract used by deterministic update tests.
Required Methods§
Sourcefn check(&self, point: UpdateFaultPoint) -> UpdateResult<()>
fn check(&self, point: UpdateFaultPoint) -> UpdateResult<()>
Returns an error when execution should fail at point.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".