pub trait Builder {
    type Err;

    fn for_platform<T: Mode>(
        &self,
        platform: Option<&PlatformRef>
    ) -> Result<Database<T>, Self::Err>; fn build<T: Mode>(&self) -> Result<Database<T>, Self::Err> { ... } }
Expand description

The regular expression pattern database builder.

Required Associated Types

The associated error which can be returned from compiling.

Required Methods

Build an expression is compiled into a Hyperscan database for a target platform.

Provided Methods

Build an expression is compiled into a Hyperscan database which can be passed to the runtime functions

Implementors