pub trait DetectionStrategy {
// Required method
fn detect(&self, ctx: &DetectionContext<'_>) -> DetectionResult;
}Required Methods§
fn detect(&self, ctx: &DetectionContext<'_>) -> DetectionResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".