Struct tower_web::util::http::LiftService[][src]

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

Contains an HttpService providing an implementation of Service.

Methods

impl<T> LiftService<T>
[src]

Important traits for &'a mut W

Return a reference to the underlying HttpServce.

Important traits for &'a mut W

Return a mutable reference to the underlying HttpServce.

Consumes self, returning the underlying HttpServce.

Trait Implementations

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

Formats the value using the given formatter. Read more

impl<T> Service for LiftService<T> where
    T: HttpService
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

Returns Ready when the service is able to process requests. Read more

Process the request and return the response asynchronously. Read more

A future yielding the service when it is ready to accept a request.

Auto Trait Implementations

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

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