pub struct MapResponse<S, F, T, R1, R2> { /* private fields */ }Available on crate feature
server only.Expand description
Service implementation from MapResponseLayer
Trait Implementations§
Source§impl<S, F, T, R1, R2> Clone for MapResponse<S, F, T, R1, R2>
impl<S, F, T, R1, R2> Clone for MapResponse<S, F, T, R1, R2>
Source§impl<S, F, T, Req, R1, R2> Service<ServerContext, Req> for MapResponse<S, F, T, R1, R2>
impl<S, F, T, Req, R1, R2> Service<ServerContext, Req> for MapResponse<S, F, T, R1, R2>
Auto Trait Implementations§
impl<S, F, T, R1, R2> Freeze for MapResponse<S, F, T, R1, R2>
impl<S, F, T, R1, R2> RefUnwindSafe for MapResponse<S, F, T, R1, R2>where
S: RefUnwindSafe,
F: RefUnwindSafe,
impl<S, F, T, R1, R2> Send for MapResponse<S, F, T, R1, R2>
impl<S, F, T, R1, R2> Sync for MapResponse<S, F, T, R1, R2>
impl<S, F, T, R1, R2> Unpin for MapResponse<S, F, T, R1, R2>
impl<S, F, T, R1, R2> UnwindSafe for MapResponse<S, F, T, R1, R2>where
S: UnwindSafe,
F: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> Pointable for T
impl<T> Pointable for T
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