pub struct Detector { /* private fields */ }Expand description
The combined detection engine that runs all layers.
Implementations§
Source§impl Detector
impl Detector
Sourcepub fn from_config(config: &DetectionConfig) -> Result<Self>
pub fn from_config(config: &DetectionConfig) -> Result<Self>
Create a new detector from configuration.
Auto Trait Implementations§
impl Freeze for Detector
impl RefUnwindSafe for Detector
impl Send for Detector
impl Sync for Detector
impl Unpin for Detector
impl UnsafeUnpin for Detector
impl UnwindSafe for Detector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more