pub struct Http<S> { /* private fields */ }Expand description
Middleware that adds tracing to a Service that handles HTTP requests.
Trait Implementations§
Source§impl<S, ReqBody, ResBody> Service<Request<ReqBody>> for Http<S>
impl<S, ReqBody, ResBody> Service<Request<ReqBody>> for Http<S>
Auto Trait Implementations§
impl<S> Freeze for Http<S>where
S: Freeze,
impl<S> !RefUnwindSafe for Http<S>
impl<S> Send for Http<S>where
S: Send,
impl<S> Sync for Http<S>where
S: Sync,
impl<S> Unpin for Http<S>where
S: Unpin,
impl<S> !UnwindSafe for Http<S>
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