pub enum CrashPoint {
State(&'static str),
OpBegun(&'static str),
OpCalled(&'static str),
}Expand description
Fault injection for the fake harness: stop dead (as if SIGKILLed) right after a record is durable.
Variants§
State(&'static str)
After the Advance record into this state (by machine::tag).
OpBegun(&'static str)
After the OpBegin record for this call, before the call is made.
OpCalled(&'static str)
After the call returned, before its OpAck is journaled.
Trait Implementations§
Source§impl Clone for CrashPoint
impl Clone for CrashPoint
Source§fn clone(&self) -> CrashPoint
fn clone(&self) -> CrashPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CrashPoint
impl Debug for CrashPoint
Source§impl PartialEq for CrashPoint
impl PartialEq for CrashPoint
impl Eq for CrashPoint
impl StructuralPartialEq for CrashPoint
Auto Trait Implementations§
impl Freeze for CrashPoint
impl RefUnwindSafe for CrashPoint
impl Send for CrashPoint
impl Sync for CrashPoint
impl Unpin for CrashPoint
impl UnsafeUnpin for CrashPoint
impl UnwindSafe for CrashPoint
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