Trait httptest::matchers::IntoRegex

source ·
pub trait IntoRegex {
    // Required method
    fn into_regex(self) -> Regex;
}
Expand description

Create a regex.

This trait may panic if the regex failed to build.

Required Methods§

source

fn into_regex(self) -> Regex

turn self into a regex.

Implementations on Foreign Types§

source§

impl IntoRegex for &str

source§

impl IntoRegex for &mut RegexBuilder

source§

impl IntoRegex for String

source§

impl IntoRegex for Regex

Implementors§