pub struct HttpMetricMiddleware;
Expand description
Middleware for tracing
.
Trait Implementations§
Source§impl Default for HttpMetricMiddleware
impl Default for HttpMetricMiddleware
Source§fn default() -> HttpMetricMiddleware
fn default() -> HttpMetricMiddleware
Returns the “default value” for a type. Read more
Source§impl<E: Endpoint> Middleware<E> for HttpMetricMiddleware
impl<E: Endpoint> Middleware<E> for HttpMetricMiddleware
Source§fn combine<T>(self, other: T) -> CombineMiddleware<Self, T, E>
fn combine<T>(self, other: T) -> CombineMiddleware<Self, T, E>
Create a new middleware by combining two middlewares. Read more
Source§fn combine_if<T>(
self,
enable: bool,
other: T,
) -> EitherMiddleware<Self, CombineMiddleware<Self, T, E>, E>
fn combine_if<T>( self, enable: bool, other: T, ) -> EitherMiddleware<Self, CombineMiddleware<Self, T, E>, E>
Auto Trait Implementations§
impl Freeze for HttpMetricMiddleware
impl RefUnwindSafe for HttpMetricMiddleware
impl Send for HttpMetricMiddleware
impl Sync for HttpMetricMiddleware
impl Unpin for HttpMetricMiddleware
impl UnwindSafe for HttpMetricMiddleware
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