pub struct RequestIdService<S> { /* private fields */ }Expand description
Service wrapper installed by RequestIdMiddleware.
Trait Implementations§
Source§impl<S, B> Service<ServiceRequest> for RequestIdService<S>where
S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
B: 'static,
impl<S, B> Service<ServiceRequest> for RequestIdService<S>where
S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
B: 'static,
Source§type Future = Pin<Box<dyn Future<Output = Result<<RequestIdService<S> as Service<ServiceRequest>>::Response, <RequestIdService<S> as Service<ServiceRequest>>::Error>>>>
type Future = Pin<Box<dyn Future<Output = Result<<RequestIdService<S> as Service<ServiceRequest>>::Response, <RequestIdService<S> as Service<ServiceRequest>>::Error>>>>
The future response value.
Auto Trait Implementations§
impl<S> Freeze for RequestIdService<S>
impl<S> RefUnwindSafe for RequestIdService<S>where
S: RefUnwindSafe,
impl<S> !Send for RequestIdService<S>
impl<S> !Sync for RequestIdService<S>
impl<S> Unpin for RequestIdService<S>
impl<S> UnsafeUnpin for RequestIdService<S>
impl<S> UnwindSafe for RequestIdService<S>where
S: RefUnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<S, Req> IntoService<S, Req> for Swhere
S: Service<Req>,
impl<S, Req> IntoService<S, Req> for Swhere
S: Service<Req>,
§fn into_service(self) -> S
fn into_service(self) -> S
Convert to a
Service