pub struct Map<S, FN> {
pub inner: S,
pub rewrite_f: FN,
}Fields§
§inner: S§rewrite_f: FNImplementations§
Trait Implementations§
Source§impl<F: AsyncMakeService, FN: Clone> AsyncMakeService for Map<F, FN>
impl<F: AsyncMakeService, FN: Clone> AsyncMakeService for Map<F, FN>
Source§type Service = Map<<F as AsyncMakeService>::Service, FN>
type Service = Map<<F as AsyncMakeService>::Service, FN>
The type of service this factory creates.
Source§type Error = <F as AsyncMakeService>::Error
type Error = <F as AsyncMakeService>::Error
The type of error that can occur during service creation.
Source§impl<F: MakeService, FN: Clone> MakeService for Map<F, FN>
impl<F: MakeService, FN: Clone> MakeService for Map<F, FN>
Auto Trait Implementations§
impl<S, FN> Freeze for Map<S, FN>
impl<S, FN> RefUnwindSafe for Map<S, FN>where
S: RefUnwindSafe,
FN: RefUnwindSafe,
impl<S, FN> Send for Map<S, FN>
impl<S, FN> Sync for Map<S, FN>
impl<S, FN> Unpin for Map<S, FN>
impl<S, FN> UnwindSafe for Map<S, FN>where
S: UnwindSafe,
FN: 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