Struct rcache::service::LogService [] [src]

pub struct LogService<T> {
    pub inner: T,
}

A printf logger middleware.

Fields

Trait Implementations

impl<T> Service for LogService<T> where
    T: Service<Request = Message, Response = Message, Error = Error>,
    T::Future: 'static, 
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

Process the request and return the response asynchronously.

impl<T> NewService for LogService<T> where
    T: NewService<Request = Message, Response = Message, Error = Error>,
    <T::Instance as Service>::Future: 'static, 
[src]

Requests handled by the service

Responses given by the service

Errors produced by the service

The Service value created by this factory

Create and return a new service value.