pub trait Route: DynClone + Sync + Send + Debug + ToResponse {
    // Required methods
    fn get_path(&self) -> &str;
    fn get_method(&self) -> Method;
    fn wildcard(&self) -> Option<String>;
    fn clone_dyn(&self) -> Box<dyn Route>;
}

Required Methods§

source

fn get_path(&self) -> &str

source

fn get_method(&self) -> Method

source

fn wildcard(&self) -> Option<String>

source

fn clone_dyn(&self) -> Box<dyn Route>

Trait Implementations§

source§

impl Clone for Box<dyn Route>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§