pub enum RecordReplay {
Record,
Replay,
}Expand description
Record/replay mode for -icount.
Variants§
Trait Implementations§
Source§impl Arbitrary for RecordReplay
impl Arbitrary for RecordReplay
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> RecordReplay>), (u32, Arc<fn() -> RecordReplay>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> RecordReplay>), (u32, Arc<fn() -> RecordReplay>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for RecordReplay
impl Clone for RecordReplay
Source§fn clone(&self) -> RecordReplay
fn clone(&self) -> RecordReplay
Returns a duplicate of the value. Read more
1.0.0 · 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 RecordReplay
impl Debug for RecordReplay
Source§impl Hash for RecordReplay
impl Hash for RecordReplay
Source§impl Ord for RecordReplay
impl Ord for RecordReplay
Source§fn cmp(&self, other: &RecordReplay) -> Ordering
fn cmp(&self, other: &RecordReplay) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RecordReplay
impl PartialEq for RecordReplay
Source§impl PartialOrd for RecordReplay
impl PartialOrd for RecordReplay
impl Eq for RecordReplay
impl StructuralPartialEq for RecordReplay
Auto Trait Implementations§
impl Freeze for RecordReplay
impl RefUnwindSafe for RecordReplay
impl Send for RecordReplay
impl Sync for RecordReplay
impl Unpin for RecordReplay
impl UnsafeUnpin for RecordReplay
impl UnwindSafe for RecordReplay
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