[−][src]Struct proptest::test_runner::MapFailurePersistence
Failure persistence option that loads and saves seeds in memory
on the heap. This may be useful when accumulating test failures
across multiple TestRunner
instances for external reporting
or batched persistence.
Fields
map: BTreeMap<&'static str, BTreeSet<PersistedSeed>>
Backing map, keyed by source_file.
Trait Implementations
impl Clone for MapFailurePersistence
[src]
fn clone(&self) -> MapFailurePersistence
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MapFailurePersistence
[src]
impl Default for MapFailurePersistence
[src]
fn default() -> MapFailurePersistence
[src]
impl FailurePersistence for MapFailurePersistence
[src]
fn load_persisted_failures2(
&self,
source_file: Option<&'static str>
) -> Vec<PersistedSeed>
[src]
&self,
source_file: Option<&'static str>
) -> Vec<PersistedSeed>
fn save_persisted_failure2(
&mut self,
source_file: Option<&'static str>,
seed: PersistedSeed,
_shrunken_value: &dyn Debug
)
[src]
&mut self,
source_file: Option<&'static str>,
seed: PersistedSeed,
_shrunken_value: &dyn Debug
)
ⓘImportant traits for Box<W>fn box_clone(&self) -> Box<dyn FailurePersistence>
[src]
ⓘImportant traits for Box<W>
fn eq(&self, other: &dyn FailurePersistence) -> bool
[src]
fn as_any(&self) -> &dyn Any
[src]
fn load_persisted_failures(
&self,
source_file: Option<&'static str>
) -> Vec<[u8; 16]>
[src]
&self,
source_file: Option<&'static str>
) -> Vec<[u8; 16]>
fn save_persisted_failure(
&mut self,
source_file: Option<&'static str>,
seed: [u8; 16],
shrunken_value: &dyn Debug
)
[src]
&mut self,
source_file: Option<&'static str>,
seed: [u8; 16],
shrunken_value: &dyn Debug
)
impl PartialEq<MapFailurePersistence> for MapFailurePersistence
[src]
fn eq(&self, other: &MapFailurePersistence) -> bool
[src]
fn ne(&self, other: &MapFailurePersistence) -> bool
[src]
impl StructuralPartialEq for MapFailurePersistence
[src]
Auto Trait Implementations
impl RefUnwindSafe for MapFailurePersistence
impl Send for MapFailurePersistence
impl Sync for MapFailurePersistence
impl Unpin for MapFailurePersistence
impl UnwindSafe for MapFailurePersistence
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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.
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>,