Struct MapFailurePersistence
pub struct MapFailurePersistence { pub map: BTreeMap<&'static str, BTreeSet<PersistedSeed>> }
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
fn clone(&self) -> Self
impl Debug for MapFailurePersistence
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for MapFailurePersistence
fn default() -> Self
impl FailurePersistence for MapFailurePersistence
fn load_persisted_failures2(&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)fn box_clone(&self) -> Box<dyn FailurePersistence>fn eq(&self, other: &dyn FailurePersistence) -> boolfn as_any(&self) -> &dyn Any
impl PartialEq for MapFailurePersistence
fn eq(&self, other: &Self) -> bool