Trait dce_router::api::Method

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

Required Methods§

source

fn to_string(&self) -> String

source

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

Trait Implementations§

source§

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

source§

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

Formats the value using the given formatter. Read more

Implementors§