enum ResponseState<S1, S2, Request>where
S1: Service<Request>,
S2: Service<Request>,
S2::Error: Into<BoxedError>,{
PollResponse1 {
fut: S1::Future,
req: Request,
svc2: S2,
},
PollReady2 {
req: Request,
svc2: S2,
},
PollResponse2 {
fut: S2::Future,
},
Tmp,
}
Variants§
Implementations§
source§impl<S1, S2, Request> ResponseState<S1, S2, Request>where
S1: Service<Request>,
S2: Service<Request>,
S2::Error: Into<BoxedError>,
impl<S1, S2, Request> ResponseState<S1, S2, Request>where
S1: Service<Request>,
S2: Service<Request>,
S2::Error: Into<BoxedError>,
fn project<'pin>( self: Pin<&'pin mut Self>, ) -> ResponseStateProj<'pin, S1, S2, Request>
fn project_replace( self: Pin<&mut Self>, __replacement: Self, ) -> __ResponseStateProjectionOwned<S1, S2, Request>
Trait Implementations§
source§impl<S1, S2, Request> Debug for ResponseState<S1, S2, Request>
impl<S1, S2, Request> Debug for ResponseState<S1, S2, Request>
impl<'pin, S1, S2, Request> Unpin for ResponseState<S1, S2, Request>where
S1: Service<Request>,
S2: Service<Request>,
S2::Error: Into<BoxedError>,
PinnedFieldsOf<__ResponseState<'pin, S1, S2, Request>>: Unpin,
Auto Trait Implementations§
impl<S1, S2, Request> Freeze for ResponseState<S1, S2, Request>
impl<S1, S2, Request> RefUnwindSafe for ResponseState<S1, S2, Request>where
<S2 as Service<Request>>::Error: Sized,
<S1 as Service<Request>>::Future: RefUnwindSafe,
Request: RefUnwindSafe,
S2: RefUnwindSafe,
<S2 as Service<Request>>::Future: RefUnwindSafe,
impl<S1, S2, Request> Send for ResponseState<S1, S2, Request>
impl<S1, S2, Request> Sync for ResponseState<S1, S2, Request>
impl<S1, S2, Request> UnwindSafe for ResponseState<S1, S2, Request>where
<S2 as Service<Request>>::Error: Sized,
<S1 as Service<Request>>::Future: UnwindSafe,
Request: UnwindSafe,
S2: UnwindSafe,
<S2 as Service<Request>>::Future: 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