pub trait ContentCheck:
Send
+ Sync
+ 'static {
// Required methods
fn code(&self) -> &'static str;
fn run(&self, page: &Page) -> Vec<Finding>;
}Expand description
A registerable content check. Implementors are zero-field structs
registered with register_content_check!.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".