Struct tokio_middleware::Log
[−]
[src]
pub struct Log<S> { /* fields omitted */ }
Methods
impl<S> Log<S>
[src]
Trait Implementations
impl<S: Clone> Clone for Log<S>
[src]
fn clone(&self) -> Log<S>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S> Service for Log<S> where
S: Service,
S::Request: Debug,
[src]
S: Service,
S::Request: Debug,
type Request = S::Request
Requests handled by the service.
type Response = S::Response
Responses given by the service.
type Error = S::Error
Errors produced by the service.
type Future = S::Future
The future response value.
fn call(&self, request: Self::Request) -> Self::Future
[src]
Process the request and return the response asynchronously.