Struct tracing_awc::TracingMiddleware [−][src]
pub struct TracingMiddleware<S>(_);
Trait Implementations
impl<S> Service<ConnectRequest> for TracingMiddleware<S> where
S: Service<ConnectRequest, Response = ConnectResponse, Error = SendRequestError>,
impl<S> Service<ConnectRequest> for TracingMiddleware<S> where
S: Service<ConnectRequest, Response = ConnectResponse, Error = SendRequestError>,
type Response = ConnectResponse
type Response = ConnectResponse
Responses given by the service.
type Error = SendRequestError
type Error = SendRequestError
Errors produced by the service when polling readiness or executing call.
type Future = TracingFuture<S::Future>
type Future = TracingFuture<S::Future>
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
Auto Trait Implementations
impl<S> RefUnwindSafe for TracingMiddleware<S> where
S: RefUnwindSafe,
impl<S> Send for TracingMiddleware<S> where
S: Send,
impl<S> Sync for TracingMiddleware<S> where
S: Sync,
impl<S> Unpin for TracingMiddleware<S> where
S: Unpin,
impl<S> UnwindSafe for TracingMiddleware<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more