pub enum ReplayMode {
Fast,
VerifyPre,
VerifyPost,
VerifyBoth,
}Expand description
Replay mode configuration.
Variants§
Fast
Apply mutations without verification (fastest).
VerifyPre
Verify pre-state before each mutation.
VerifyPost
Verify post-state after each mutation.
VerifyBoth
Verify both pre and post states (strictest).
Implementations§
Source§impl ReplayMode
impl ReplayMode
Sourcepub fn verify_pre(&self) -> bool
pub fn verify_pre(&self) -> bool
Returns true if this mode requires pre-state verification before
applying each mutation.
Sourcepub fn verify_post(&self) -> bool
pub fn verify_post(&self) -> bool
Returns true if this mode requires post-state verification after
applying each mutation.
Trait Implementations§
Source§impl Clone for ReplayMode
impl Clone for ReplayMode
Source§fn clone(&self) -> ReplayMode
fn clone(&self) -> ReplayMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplayMode
impl Debug for ReplayMode
Source§impl Default for ReplayMode
impl Default for ReplayMode
Source§fn default() -> ReplayMode
fn default() -> ReplayMode
Returns the “default value” for a type. Read more
impl Copy for ReplayMode
Auto Trait Implementations§
impl Freeze for ReplayMode
impl RefUnwindSafe for ReplayMode
impl Send for ReplayMode
impl Sync for ReplayMode
impl Unpin for ReplayMode
impl UnsafeUnpin for ReplayMode
impl UnwindSafe for ReplayMode
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