pub struct ConcurrentInvariant<M: ?Sized> {
pub name: String,
pub apply: fn(&M, TestCase),
}Expand description
An invariant of a ConcurrentStateMachine, checked on the main thread
at every join point — between rounds of concurrent rule execution, while
all worker threads are parked.
Fields§
§name: String§apply: fn(&M, TestCase)Implementations§
Auto Trait Implementations§
impl<M> Freeze for ConcurrentInvariant<M>
impl<M> RefUnwindSafe for ConcurrentInvariant<M>
impl<M> Send for ConcurrentInvariant<M>
impl<M> Sync for ConcurrentInvariant<M>
impl<M> Unpin for ConcurrentInvariant<M>
impl<M> UnsafeUnpin for ConcurrentInvariant<M>
impl<M> UnwindSafe for ConcurrentInvariant<M>
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