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> UnsafeUnpin 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes
Size for each variant:
PollResponse1: 24 bytesPollReady2: 16 bytesPollResponse2: 8 bytesTmp: 0 bytes