Struct tower_web::routing::Route[][src]

pub struct Route<T> { /* fields omitted */ }

Matches an HTTP request with a resource method.

Methods

impl<T> Route<T>
[src]

Create a new route

Set the HTTP request method matched by this route.

Set the HTTP request path matched by this route.

Trait Implementations

impl<T: Debug> Debug for Route<T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for Route<T> where
    T: Send

impl<T> Sync for Route<T> where
    T: Sync