pub struct Map<T, Req>where
T: Target<Req>,{ /* private fields */ }Available on crate features
client and client-pool only.Expand description
A map caching MakeServices per key.
Create one with the Map::builder().
Implementations§
Auto Trait Implementations§
impl<T, Req> Freeze for Map<T, Req>where
T: Freeze,
impl<T, Req> RefUnwindSafe for Map<T, Req>where
T: RefUnwindSafe,
<T as Target<Req>>::Key: RefUnwindSafe,
<T as Target<Req>>::Service: RefUnwindSafe,
impl<T, Req> Send for Map<T, Req>
impl<T, Req> Sync for Map<T, Req>
impl<T, Req> Unpin for Map<T, Req>
impl<T, Req> UnwindSafe for Map<T, Req>
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