1 2 3 4 5 6 7 8 9 10 11
use px_core::PxDetection; #[derive(Debug, Clone, PartialEq, Eq)] pub enum Detected { Yes(PxDetection), No, } pub trait Detector: Send + Sync { fn detect(&self, html: &str) -> Detected; }