tests_fuzz::generator

Trait Generator

Source
pub trait Generator<T, R: Rng> {
    type Error: Sync + Send + Debug;

    // Required method
    fn generate(&self, rng: &mut R) -> Result<T, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn generate(&self, rng: &mut R) -> Result<T, Self::Error>

Implementors§