[−][src]Struct async_svc::ThenSvc
Service1(Response) -> Intermediate => Service2(Intermediate) -> Response
Implementations
impl<S1, S2, Int, Res> ThenSvc<S1, S2, Int, Res>
[src]
Trait Implementations
impl<S1, S2, Req, Int, Res> Svc<Req> for ThenSvc<S1, S2, Int, Res> where
S1: Svc<Req, Res = Int>,
S2: Svc<Int, Res = Res>,
[src]
S1: Svc<Req, Res = Int>,
S2: Svc<Int, Res = Res>,
type Res = Res
Output type.
type Fut = ThenSvcFut<S1, S2, Req, Int, 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, S1, S2, Int, Res> Unpin for ThenSvc<S1, S2, Int, Res> where
__ThenSvc<'pin, S1, S2, Int, Res>: Unpin,
[src]
__ThenSvc<'pin, S1, S2, Int, Res>: Unpin,
Auto Trait Implementations
impl<S1, S2, Int, Res> RefUnwindSafe for ThenSvc<S1, S2, Int, Res> where
Int: RefUnwindSafe,
Res: RefUnwindSafe,
S1: RefUnwindSafe,
S2: RefUnwindSafe,
Int: RefUnwindSafe,
Res: RefUnwindSafe,
S1: RefUnwindSafe,
S2: RefUnwindSafe,
impl<S1, S2, Int, Res> Send for ThenSvc<S1, S2, Int, Res> where
Int: Send,
Res: Send,
S1: Send,
S2: Send,
Int: Send,
Res: Send,
S1: Send,
S2: Send,
impl<S1, S2, Int, Res> Sync for ThenSvc<S1, S2, Int, Res> where
Int: Sync,
Res: Sync,
S1: Sync,
S2: Sync,
Int: Sync,
Res: Sync,
S1: Sync,
S2: Sync,
impl<S1, S2, Int, Res> UnwindSafe for ThenSvc<S1, S2, Int, Res> where
Int: UnwindSafe,
Res: UnwindSafe,
S1: UnwindSafe,
S2: UnwindSafe,
Int: UnwindSafe,
Res: UnwindSafe,
S1: UnwindSafe,
S2: 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>,