Trait Method

Source
pub trait Method<Rp> {
    // Required methods
    fn to_string(&self) -> String;
    fn req_match(&self, raw: &Rp) -> bool;
}

Required Methods§

Source

fn to_string(&self) -> String

Source

fn req_match(&self, raw: &Rp) -> bool

Trait Implementations§

Source§

impl<Rp> Debug for dyn Method<Rp> + Send + Sync + 'static

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§