pub struct Arming { /* private fields */ }Expand description
A point being armed; finish with Arming::crash or
Arming::abort.
Implementations§
Source§impl Arming
impl Arming
Sourcepub fn crash(self) -> FaultInjector
pub fn crash(self) -> FaultInjector
Crash in-process at the point.
Sourcepub fn abort(self) -> FaultInjector
pub fn abort(self) -> FaultInjector
Abort the process at the point.
Auto Trait Implementations§
impl !Freeze for Arming
impl RefUnwindSafe for Arming
impl Send for Arming
impl Sync for Arming
impl Unpin for Arming
impl UnsafeUnpin for Arming
impl UnwindSafe for Arming
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