Struct reset_router::Router[][src]

pub struct Router<SD>(_);

Methods

impl<SD: 'static + Clone> Router<SD>
[src]

Trait Implementations

impl<SD: Clone> Clone for Router<SD>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<SD: 'static + Clone> Service for Router<SD>
[src]

The error type that can occur within this Service. Read more

The Future returned by this Service.

The Payload body of the http::Request.

The Payload body of the http::Response.

Calls this Service with a request, returning a Future of the response.

impl<SD: 'static + Clone> NewService for Router<SD>
[src]

The error type that can be returned by Services.

The future returned from new_service of a Service.

The error type that can be returned when creating a new Service.

The Payload body of the http::Request.

The Payload body of the http::Response.

The resolved Service from new_service().

Create a new Service.

Auto Trait Implementations

impl<SD> Send for Router<SD> where
    SD: Send + Sync

impl<SD> Sync for Router<SD> where
    SD: Send + Sync