pub(super) enum State<I, N, S: HttpService<Body>, E, W: Watcher<I, S, E>> {
Connecting {
connecting: Connecting<I, N, E>,
watcher: W,
},
Connected {
future: W::Future,
},
}
Variants§
Trait Implementations§
impl<'__pin, I, N, S: HttpService<Body>, E, W: Watcher<I, S, E>> Unpin for State<I, N, S, E, W>where __Origin<'__pin, I, N, S, E, W>: Unpin,
Auto Trait Implementations§
impl<I, N, S, E, W> RefUnwindSafe for State<I, N, S, E, W>where E: RefUnwindSafe, I: RefUnwindSafe, N: RefUnwindSafe, W: RefUnwindSafe, <W as Watcher<I, S, E>>::Future: RefUnwindSafe,
impl<I, N, S, E, W> Send for State<I, N, S, E, W>where E: Send, I: Send, N: Send, W: Send, <W as Watcher<I, S, E>>::Future: Send,
impl<I, N, S, E, W> Sync for State<I, N, S, E, W>where E: Sync, I: Sync, N: Sync, W: Sync, <W as Watcher<I, S, E>>::Future: Sync,
impl<I, N, S, E, W> UnwindSafe for State<I, N, S, E, W>where E: UnwindSafe, I: UnwindSafe, N: UnwindSafe, W: UnwindSafe, <W as Watcher<I, S, E>>::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