Struct volo_http::middleware::MapResponse
source · pub struct MapResponse<I, F, S, T> { /* private fields */ }Trait Implementations§
source§impl<I, F, S, T> Clone for MapResponse<I, F, S, T>
impl<I, F, S, T> Clone for MapResponse<I, F, S, T>
source§impl<I, F, S, T> Service<HttpContext, Incoming> for MapResponse<I, F, S, T>where
I: Service<HttpContext, Incoming, Response = Response, Error = Infallible> + Clone + Send + Sync + 'static,
F: for<'r> MiddlewareHandlerMapResponse<'r, T, S> + Clone + Sync,
S: Clone + Sync,
impl<I, F, S, T> Service<HttpContext, Incoming> for MapResponse<I, F, S, T>where
I: Service<HttpContext, Incoming, Response = Response, Error = Infallible> + Clone + Send + Sync + 'static,
F: for<'r> MiddlewareHandlerMapResponse<'r, T, S> + Clone + Sync,
S: Clone + Sync,
Auto Trait Implementations§
impl<I, F, S, T> RefUnwindSafe for MapResponse<I, F, S, T>
impl<I, F, S, T> Send for MapResponse<I, F, S, T>
impl<I, F, S, T> Sync for MapResponse<I, F, S, T>
impl<I, F, S, T> Unpin for MapResponse<I, F, S, T>
impl<I, F, S, T> UnwindSafe for MapResponse<I, F, S, T>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Cx, Req> ServiceExt<Cx, Req> for Twhere
T: Service<Cx, Req>,
impl<T, Cx, Req> ServiceExt<Cx, Req> for Twhere
T: Service<Cx, Req>,
source§fn map_err<E, F>(self, f: F) -> MapErr<T, F>
fn map_err<E, F>(self, f: F) -> MapErr<T, F>
Maps this service’s error value to a different value. Read more
source§fn map_response<F, Response>(self, f: F) -> MapResponse<T, F>
fn map_response<F, Response>(self, f: F) -> MapResponse<T, F>
Maps this service’s response value to a different value. Read more