Struct proptest::test_runner::MapFailurePersistence [−][src]
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]
pub 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
)
fn box_clone(&self) -> Box<dyn FailurePersistence>ⓘ
[src]
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 Send for MapFailurePersistence
[src]
impl Sync for MapFailurePersistence
[src]
impl Unpin for MapFailurePersistence
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,