Skip to main content

any_detector_suppresses

Function any_detector_suppresses 

Source
pub fn any_detector_suppresses(
    detectors: &[DetectorSnapshot],
    load: impl Fn(&str) -> Option<Vec<u8>>,
) -> bool
Expand description

Whether any snapshotted detector votes to suppress the next break. load fetches a detector’s module bytes by id (None → skip it, e.g. a missing/unreadable module). Short-circuits on the first suppressing detector. A detector whose module fails to build or run contributes no suppression (see evaluate_detector).