Trait monster::engine::BugFinder[][src]

pub trait BugFinder<Info, Error> where
    Info: BugInfo,
    Error: Error
{ fn search_for_bugs(
        &self,
        program: &Program
    ) -> Result<Option<Bug<Info>>, Error>; }

Required methods

Implementors

Performs rarity simulation on a given program

If one state encountered a bug, execution is terminated and its description is returned. If no bugs have been encountered after the configured limit has been met, None is returned.

Please see the module-level documentation for a detailed description of rarity simulation.