Trait stateright::CheckerVisitor [−][src]
A visitor to apply to every Path
of the checked Model
.
Implementations include StateRecorder
and
impl<M: Model>
Fn
(Path<M::State, M::Action>)
.
Example
model.checker() .visitor(|p: Path<_, _>| println!("\t{:?}", p.last_state())) .spawn_dfs().join();
Required methods
Loading content...Implementations on Foreign Types
impl<M: Model> CheckerVisitor<M> for Arc<RwLock<Snapshot<M::Action>>>
[src]
Loading content...Implementors
impl<M> CheckerVisitor<M> for StateRecorder<M> where
M: Model,
M::State: Clone,
[src]
M: Model,
M::State: Clone,
impl<M, F> CheckerVisitor<M> for F where
M: Model,
F: Fn(Path<M::State, M::Action>),
[src]
M: Model,
F: Fn(Path<M::State, M::Action>),