relay_pattern

Trait PatternConfig

Source
pub trait PatternConfig {
    const CASE_INSENSITIVE: bool = false;
    const MAX_COMPLEXITY: u64 = 18_446_744_073_709_551_615u64;
}
Expand description

Compile time configuration for a TypedPattern.

Provided Associated Constants§

Source

const CASE_INSENSITIVE: bool = false

Configures the pattern to match case insensitive.

Source

const MAX_COMPLEXITY: u64 = 18_446_744_073_709_551_615u64

Configures the maximum allowed complexity of the pattern.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§