pub struct Scan<O> { /* private fields */ }Expand description
Implementations§
Source§impl<O> Scan<O>
impl<O> Scan<O>
Sourcepub fn new(tsd: TransitionSystem, oracle: O) -> Self
pub fn new(tsd: TransitionSystem, oracle: O) -> Self
Create new Scan object.
Sourcepub fn successes(&self) -> u32
pub fn successes(&self) -> u32
Returns the number of successful executions in the current verification run.
Sourcepub fn failures(&self) -> u32
pub fn failures(&self) -> u32
Returns the number of failed executions in the current verification run.
Sourcepub fn violations(&self) -> Vec<u32>
pub fn violations(&self) -> Vec<u32>
Returns a vector where each entry contains the number of violations of the associated property in the current verification run.
Source§impl<O: Oracle + Clone> Scan<O>
impl<O: Oracle + Clone> Scan<O>
Trait Implementations§
Auto Trait Implementations§
impl<O> Freeze for Scan<O>where
O: Freeze,
impl<O> RefUnwindSafe for Scan<O>where
O: RefUnwindSafe,
impl<O> Send for Scan<O>where
O: Send,
impl<O> Sync for Scan<O>where
O: Sync,
impl<O> Unpin for Scan<O>where
O: Unpin,
impl<O> UnsafeUnpin for Scan<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for Scan<O>where
O: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more