Skip to main content

MutationSelector

Trait MutationSelector 

Source
pub trait MutationSelector: Send + Sync {
    // Required method
    fn select_sites<R: Rng>(
        &self,
        trace: &Trace,
        rng: &mut R,
    ) -> HashSet<Address>;
}
Expand description

Trait for selecting which addresses to mutate

Required Methods§

Source

fn select_sites<R: Rng>(&self, trace: &Trace, rng: &mut R) -> HashSet<Address>

Select addresses that should be mutated

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§