Trait meio_connect::server::route::DirectPath [−][src]
pub trait DirectPath: Sized + Send + Sync + 'static {
type Output: DeserializeOwned + Send;
type Parameter;
fn paths() -> &'static [&'static str];
}
Expand description
The special handler for plain routes.
Associated Types
type Output: DeserializeOwned + Send
type Output: DeserializeOwned + Send
Extracted value from the request.
Required methods
fn paths() -> &'static [&'static str]
fn paths() -> &'static [&'static str]
Slice of plain paths for matching a request.