Struct hyper_router::Router [] [src]

pub struct Router<R: RouteRecognizer> { /* fields omitted */ }

Trait Implementations

impl<R: RouteRecognizer> From<R> for Router<R>
[src]

Performs the conversion.

impl<R> NewService for Router<R> where
    R: RouteRecognizer
[src]

Requests handled by the service

Responses given by the service

Errors produced by the service

The Service value created by this factory

Create and return a new service value.