Struct tower_web::middleware::deflate::DeflateService[][src]

pub struct DeflateService<S> { /* fields omitted */ }

Deflates the inner service's response bodies.

Trait Implementations

impl<S: Debug> Debug for DeflateService<S>
[src]

Formats the value using the given formatter. Read more

impl<S, RequestBody, ResponseBody> Service for DeflateService<S> where
    S: Service<Request = Request<RequestBody>, Response = Response<ResponseBody>>,
    ResponseBody: BufStream,
    S::Error: Error
[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<S> Send for DeflateService<S> where
    S: Send

impl<S> Sync for DeflateService<S> where
    S: Sync