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

Required Methods

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Implementors