[−][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<[u8; 16]>>
Backing map, keyed by source_file.
Trait Implementations
impl FailurePersistence for MapFailurePersistence
[src]
impl FailurePersistence for MapFailurePersistence
fn load_persisted_failures(
&self,
source_file: Option<&'static str>
) -> Vec<[u8; 16]>
[src]
fn load_persisted_failures(
&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]
fn save_persisted_failure(
&mut self,
source_file: Option<&'static str>,
seed: [u8; 16],
_shrunken_value: &dyn Debug
)
fn box_clone(&self) -> Box<dyn FailurePersistence>
[src]
fn box_clone(&self) -> Box<dyn FailurePersistence>
fn eq(&self, other: &dyn FailurePersistence) -> bool
[src]
fn eq(&self, other: &dyn FailurePersistence) -> bool
fn as_any(&self) -> &dyn Any
[src]
fn as_any(&self) -> &dyn Any
impl Debug for MapFailurePersistence
[src]
impl Debug for MapFailurePersistence
impl PartialEq<MapFailurePersistence> for MapFailurePersistence
[src]
impl PartialEq<MapFailurePersistence> for MapFailurePersistence
fn eq(&self, other: &MapFailurePersistence) -> bool
[src]
fn eq(&self, other: &MapFailurePersistence) -> bool
fn ne(&self, other: &MapFailurePersistence) -> bool
[src]
fn ne(&self, other: &MapFailurePersistence) -> bool
impl Clone for MapFailurePersistence
[src]
impl Clone for MapFailurePersistence
fn clone(&self) -> MapFailurePersistence
[src]
fn clone(&self) -> MapFailurePersistence
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for MapFailurePersistence
[src]
impl Default for MapFailurePersistence
fn default() -> MapFailurePersistence
[src]
fn default() -> MapFailurePersistence
Auto Trait Implementations
impl Send for MapFailurePersistence
impl Send for MapFailurePersistence
impl Sync for MapFailurePersistence
impl Sync for MapFailurePersistence
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,