pub struct TracingTransform<S, U, F> { /* private fields */ }
Expand description
A Transform
implementation that wraps services with a TracingService
.
Implementations§
source§impl<S, U, F> TracingTransform<S, U, F>
impl<S, U, F> TracingTransform<S, U, F>
Trait Implementations§
source§impl<S, Req, U, F> Transform<S, Req> for TracingTransform<S, U, F>
impl<S, Req, U, F> Transform<S, Req> for TracingTransform<S, U, F>
source§type Transform = TracingService<S, F>
type Transform = TracingService<S, F>
The
TransformService
value created by this factorysource§type InitError = <U as ServiceFactory<Req>>::InitError
type InitError = <U as ServiceFactory<Req>>::InitError
Errors produced while building a transform service.
source§type Future = Ready<Result<<TracingTransform<S, U, F> as Transform<S, Req>>::Transform, <TracingTransform<S, U, F> as Transform<S, Req>>::InitError>>
type Future = Ready<Result<<TracingTransform<S, U, F> as Transform<S, Req>>::Transform, <TracingTransform<S, U, F> as Transform<S, Req>>::InitError>>
The future response value.
source§fn new_transform(&self, service: S) -> Self::Future
fn new_transform(&self, service: S) -> Self::Future
Creates and returns a new Transform component, asynchronously
Auto Trait Implementations§
impl<S, U, F> Freeze for TracingTransform<S, U, F>where
F: Freeze,
impl<S, U, F> RefUnwindSafe for TracingTransform<S, U, F>where
F: RefUnwindSafe,
impl<S, U, F> Send for TracingTransform<S, U, F>where
F: Send,
impl<S, U, F> Sync for TracingTransform<S, U, F>where
F: Sync,
impl<S, U, F> Unpin for TracingTransform<S, U, F>where
F: Unpin,
impl<S, U, F> UnwindSafe for TracingTransform<S, U, F>where
F: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more