[−][src]Struct grep_hyperscan::RegexMatcherBuilder
A builder for configuring the compilation of a hyperscan db.
Methods
impl RegexMatcherBuilder
[src]
pub fn new() -> RegexMatcherBuilder
[src]
Create a new matcher builder with a default configuration.
pub fn build(&self, patterns: &[String]) -> Result<RegexMatcher, Error>
[src]
Compile the given pattern into an hyperscan db using the current configuration.
If there was a problem compiling the pattern, then an error is returned.
Trait Implementations
impl Clone for RegexMatcherBuilder
[src]
fn clone(&self) -> RegexMatcherBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RegexMatcherBuilder
[src]
impl Default for RegexMatcherBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for RegexMatcherBuilder
impl Send for RegexMatcherBuilder
impl Sync for RegexMatcherBuilder
impl Unpin for RegexMatcherBuilder
impl UnwindSafe for RegexMatcherBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,