pub struct PatternMatcher { /* private fields */ }Expand description
Pattern matcher using multiple detection strategies
Implementations§
Source§impl PatternMatcher
impl PatternMatcher
Sourcepub async fn match_patterns(&self, input: &str) -> Result<DetectionResult>
pub async fn match_patterns(&self, input: &str) -> Result<DetectionResult>
Match patterns in the input text
Auto Trait Implementations§
impl Freeze for PatternMatcher
impl !RefUnwindSafe for PatternMatcher
impl Send for PatternMatcher
impl Sync for PatternMatcher
impl Unpin for PatternMatcher
impl !UnwindSafe for PatternMatcher
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