pub trait CspViolationHandler: Send + Debug {
// Required methods
fn process_violations(&self, violations: Vec<Violation>);
fn clone(&self) -> Box<dyn CspViolationHandler>;
}Expand description
A callback that will be invoked on the Fetch thread if a web font download results in CSP violations. This handler will be cloned each time a new web font download is initiated.