Struct luminal_router::Router [] [src]

pub struct Router { /* fields omitted */ }

Router for Hyper.

Methods

impl Router
[src]

[src]

[src]

Add a handler at the specific route path for the given Method.

[src]

Trait Implementations

impl Default for Router
[src]

[src]

Returns the "default value" for a type. Read more

impl Service for Router
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

[src]

Process the request and return the response asynchronously.

Auto Trait Implementations

impl !Send for Router

impl !Sync for Router