pub struct MapResponse<S, F> { /* private fields */ }
Implementations§
Source§impl<S, F> MapResponse<S, F>
impl<S, F> MapResponse<S, F>
pub fn new(inner: S, f: F) -> MapResponse<S, F>
Trait Implementations§
Source§impl<S, F> Clone for MapResponse<S, F>
impl<S, F> Clone for MapResponse<S, F>
Source§fn clone(&self) -> MapResponse<S, F>
fn clone(&self) -> MapResponse<S, F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<S, F> Debug for MapResponse<S, F>where
S: Debug,
impl<S, F> Debug for MapResponse<S, F>where
S: Debug,
Source§impl<S, F, Req, Res> Service<Req> for MapResponse<S, F>
impl<S, F, Req, Res> Service<Req> for MapResponse<S, F>
impl<S, F> Copy for MapResponse<S, F>
Auto Trait Implementations§
impl<S, F> Freeze for MapResponse<S, F>
impl<S, F> RefUnwindSafe for MapResponse<S, F>where
S: RefUnwindSafe,
F: RefUnwindSafe,
impl<S, F> Send for MapResponse<S, F>
impl<S, F> Sync for MapResponse<S, F>
impl<S, F> Unpin for MapResponse<S, F>
impl<S, F> UnwindSafe for MapResponse<S, F>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