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

Extracted value from the request.

Extra type parameter. Used for web sockets.

Required methods

Slice of plain paths for matching a request.

Implementors