pub struct NoFaults;Expand description
Production fault injector that never interrupts work.
Trait Implementations§
impl Copy for NoFaults
Source§impl FaultInjector for NoFaults
impl FaultInjector for NoFaults
Source§fn should_fail(&self, _point: FaultPoint) -> bool
fn should_fail(&self, _point: FaultPoint) -> bool
Return
true to stop at point and leave normal recovery artifacts.Auto Trait Implementations§
impl Freeze for NoFaults
impl RefUnwindSafe for NoFaults
impl Send for NoFaults
impl Sync for NoFaults
impl Unpin for NoFaults
impl UnsafeUnpin for NoFaults
impl UnwindSafe for NoFaults
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