pub struct EngineFailpoints {
pub stop_after_handler_once: Arc<AtomicBool>,
}Expand description
Test-only hooks that let integration tests interrupt engine progress at known points.
Fields§
§stop_after_handler_once: Arc<AtomicBool>Stops the next state attempt after the handler returns but before the engine advances.
The flag is single-use: once observed, it is reset to false.
Trait Implementations§
Source§impl Clone for EngineFailpoints
impl Clone for EngineFailpoints
Source§fn clone(&self) -> EngineFailpoints
fn clone(&self) -> EngineFailpoints
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 Default for EngineFailpoints
impl Default for EngineFailpoints
Source§fn default() -> EngineFailpoints
fn default() -> EngineFailpoints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EngineFailpoints
impl RefUnwindSafe for EngineFailpoints
impl Send for EngineFailpoints
impl Sync for EngineFailpoints
impl Unpin for EngineFailpoints
impl UnsafeUnpin for EngineFailpoints
impl UnwindSafe for EngineFailpoints
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