Struct proptest::test_runner::MapFailurePersistence[][src]

pub struct MapFailurePersistence {
    pub map: BTreeMap<&'static str, BTreeSet<[u8; 16]>>,
}

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

Backing map, keyed by source_file.

Trait Implementations

impl Clone for MapFailurePersistence
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MapFailurePersistence
[src]

Formats the value using the given formatter. Read more

impl Default for MapFailurePersistence
[src]

Returns the "default value" for a type. Read more

impl PartialEq for MapFailurePersistence
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl FailurePersistence for MapFailurePersistence
[src]

Important traits for Vec<u8>

Supply seeds associated with the given source_file that may be used by a TestRunner's random number generator in order to consistently recreate a previously-failing Strategy-provided value. Read more

Store a new failure-generating seed associated with the given source_file.

Important traits for Box<W>

Delegate method for producing a trait object usable with Clone

Equality testing delegate required due to constraints of trait objects.

Assistant method for trait object comparison.

Auto Trait Implementations

impl Send for MapFailurePersistence

impl Sync for MapFailurePersistence