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, U, F> Transform<S> for TracingTransform<S, U, F>
impl<S, U, F> Transform<S> 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>::InitError
type InitError = <U as ServiceFactory>::InitError
Errors produced while building a transform service.
Source§type Future = Ready<Result<<TracingTransform<S, U, F> as Transform<S>>::Transform, <TracingTransform<S, U, F> as Transform<S>>::InitError>>
type Future = Ready<Result<<TracingTransform<S, U, F> as Transform<S>>::Transform, <TracingTransform<S, U, F> as Transform<S>>::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
Source§fn map_init_err<F, E>(self, f: F) -> TransformMapInitErr<Self, S, F, E>
fn map_init_err<F, E>(self, f: F) -> TransformMapInitErr<Self, S, F, E>
Map this transforms’s factory error to a different error,
returning a new transform service factory.
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