Struct tower_web::middleware::log::LogService[][src]

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

Decorates a service by logging all received requests

Trait Implementations

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

Formats the value using the given formatter. Read more

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

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