enum State<S: Service<Req>, Req> {
NotReady {
svc: S,
req: Req,
},
Called {
fut: S::Future,
},
Tmp,
}
Variants§
Trait Implementations§
impl<'__pin, S: Service<Req>, Req> Unpin for State<S, Req>where
PinnedFieldsOf<__Origin<'__pin, S, Req>>: Unpin,
Auto Trait Implementations§
impl<S, Req> Freeze for State<S, Req>
impl<S, Req> RefUnwindSafe for State<S, Req>
impl<S, Req> Send for State<S, Req>
impl<S, Req> Sync for State<S, Req>
impl<S, Req> UnwindSafe for State<S, Req>
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