pub struct CustomDetector {
pub name: String,
pub detect: DetectFn,
}Expand description
A custom detector that can be plugged into the detection pipeline.
Fields§
§name: StringName identifying this detector.
detect: DetectFnThe detection function.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CustomDetector
impl !RefUnwindSafe for CustomDetector
impl Send for CustomDetector
impl Sync for CustomDetector
impl Unpin for CustomDetector
impl UnsafeUnpin for CustomDetector
impl !UnwindSafe for CustomDetector
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