pub trait Request { fn path(&self) -> Cow<'_, str>; fn method(&self) -> Cow<'_, str>; }
A trait for types that can be routed
Return the path portion of a URI.
Returns the http VERB in UPPERCASE