[−][src]Struct stateright::StateRecorder
A CheckerVisitor
that records states evaluated by the model checker. Does not record
generated states that are still pending property evaluation.
Example
let (recorder, accessor) = StateRecorder::new_with_accessor(); model.checker().visitor(recorder).spawn_dfs().join(); assert_eq!(accessor(), expected_states);
Implementations
impl<M> StateRecorder<M> where
M: Model,
M::State: Clone,
[src]
M: Model,
M::State: Clone,
pub fn new_with_accessor() -> (Self, impl Fn() -> Vec<M::State>)
[src]
Instantiates a (StateRecorder
, accessor) pair.
Trait Implementations
impl<M> CheckerVisitor<M> for StateRecorder<M> where
M: Model,
M::State: Clone,
[src]
M: Model,
M::State: Clone,
Auto Trait Implementations
impl<M> RefUnwindSafe for StateRecorder<M>
[src]
impl<M> Send for StateRecorder<M> where
<M as Model>::State: Send,
[src]
<M as Model>::State: Send,
impl<M> Sync for StateRecorder<M> where
<M as Model>::State: Send,
[src]
<M as Model>::State: Send,
impl<M> Unpin for StateRecorder<M>
[src]
impl<M> UnwindSafe for StateRecorder<M>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,