pub enum CrashPoint {
BeforeAppend,
AfterAppend,
}Expand description
Where a node simulates a crash (for tests of the journal protocol): the node stops at that point of the next turn and does nothing afterwards, as if the process died.
Variants§
BeforeAppend
After the macrostep ran, before its entry is appended.
AfterAppend
After the entry is appended, before the message is acknowledged and sends dispatched.
Trait Implementations§
Source§impl Clone for CrashPoint
impl Clone for CrashPoint
impl Copy for CrashPoint
Source§impl Debug for CrashPoint
impl Debug for CrashPoint
impl Eq for CrashPoint
Source§impl PartialEq for CrashPoint
impl PartialEq for CrashPoint
impl StructuralPartialEq for CrashPoint
Auto Trait Implementations§
impl Forget for CrashPoint
impl Freeze for CrashPoint
impl Move 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