validator

Trait AsRegex

Source
pub trait AsRegex {
    // Required method
    fn as_regex(&self) -> Cow<'_, Regex>;
}

Required Methods§

Source

fn as_regex(&self) -> Cow<'_, Regex>

Implementations on Foreign Types§

Source§

impl AsRegex for &Arc<Mutex<OnceCell<Regex>>>

Source§

fn as_regex(&self) -> Cow<'_, Regex>

Source§

impl AsRegex for &Arc<Mutex<OnceLock<Regex>>>

Source§

fn as_regex(&self) -> Cow<'_, Regex>

Source§

impl AsRegex for &Mutex<OnceCell<Regex>>

Source§

fn as_regex(&self) -> Cow<'_, Regex>

Source§

impl AsRegex for &Mutex<OnceLock<Regex>>

Source§

fn as_regex(&self) -> Cow<'_, Regex>

Source§

impl AsRegex for &OnceLock<Regex>

Source§

fn as_regex(&self) -> Cow<'_, Regex>

Source§

impl AsRegex for Regex

Source§

fn as_regex(&self) -> Cow<'_, Regex>

Source§

impl<T> AsRegex for &T
where T: AsRegex,

Source§

fn as_regex(&self) -> Cow<'_, Regex>

Implementors§