relay_filter::csp

Function should_filter

Source
pub fn should_filter<F>(
    item: &F,
    config: &CspFilterConfig,
) -> Result<(), FilterStatKey>
where F: Filterable,
Expand description

Filters CSP events based on disallowed sources.