Struct tower::layer::util::Identity [−][src]
pub struct Identity { /* fields omitted */ }
A no-op middleware.
When wrapping a Service
, the Identity
layer returns the provided
service without modifying it.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Identity
impl RefUnwindSafe for Identity
impl UnwindSafe for Identity
impl UnwindSafe for Identity
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,