[−][src]Struct async_svc::MapSvc
Implementations
impl<S, F, Res> MapSvc<S, F, Res>
[src]
Trait Implementations
impl<S, Req, F, Res> Svc<Req> for MapSvc<S, F, Res> where
S: Svc<Req>,
F: FnMut(S::Res) -> Res + Clone,
[src]
S: Svc<Req>,
F: FnMut(S::Res) -> Res + Clone,
type Res = Res
Output type.
type Fut = MapSvcFut<S, F, Req, Res>
Response future.
pub fn exec(self: Pin<&mut Self>, req: Req) -> Self::Fut
[src]
pub fn poll_ready(self: Pin<&mut Self>, cx: Context<'_>) -> Poll<()>
[src]
impl<'pin, S, F, Res> Unpin for MapSvc<S, F, Res> where
__MapSvc<'pin, S, F, Res>: Unpin,
[src]
__MapSvc<'pin, S, F, Res>: Unpin,
Auto Trait Implementations
impl<S, F, Res> RefUnwindSafe for MapSvc<S, F, Res> where
F: RefUnwindSafe,
Res: RefUnwindSafe,
S: RefUnwindSafe,
F: RefUnwindSafe,
Res: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, F, Res> Send for MapSvc<S, F, Res> where
F: Send,
Res: Send,
S: Send,
F: Send,
Res: Send,
S: Send,
impl<S, F, Res> Sync for MapSvc<S, F, Res> where
F: Sync,
Res: Sync,
S: Sync,
F: Sync,
Res: Sync,
S: Sync,
impl<S, F, Res> UnwindSafe for MapSvc<S, F, Res> where
F: UnwindSafe,
Res: UnwindSafe,
S: UnwindSafe,
F: UnwindSafe,
Res: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,