enum ResponseStateProj<'pin, S1, S2, Request>where
S1: Service<Request>,
S2: Service<Request>,
S2::Error: Into<BoxedError>,
ResponseState<S1, S2, Request>: 'pin,{
PollResponse1 {
fut: Pin<&'pin mut S1::Future>,
req: &'pin mut Request,
svc2: &'pin mut S2,
},
PollReady2 {
req: &'pin mut Request,
svc2: &'pin mut S2,
},
PollResponse2 {
fut: Pin<&'pin mut S2::Future>,
},
Tmp,
}
Variants§
Auto Trait Implementations§
impl<'pin, S1, S2, Request> Freeze for ResponseStateProj<'pin, S1, S2, Request>where
<S2 as Service<Request>>::Error: Sized,
impl<'pin, S1, S2, Request> RefUnwindSafe for ResponseStateProj<'pin, S1, S2, Request>where
<S2 as Service<Request>>::Error: Sized,
Request: RefUnwindSafe,
S2: RefUnwindSafe,
<S1 as Service<Request>>::Future: RefUnwindSafe,
<S2 as Service<Request>>::Future: RefUnwindSafe,
impl<'pin, S1, S2, Request> Send for ResponseStateProj<'pin, S1, S2, Request>
impl<'pin, S1, S2, Request> Sync for ResponseStateProj<'pin, S1, S2, Request>
impl<'pin, S1, S2, Request> Unpin for ResponseStateProj<'pin, S1, S2, Request>where
<S2 as Service<Request>>::Error: Sized,
impl<'pin, S1, S2, Request> !UnwindSafe for ResponseStateProj<'pin, S1, S2, Request>
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