pub fn spawn_local<F, T>(future: F) -> JoinHandle<T> ⓘwhere F: Future<Output = T> + 'static, T: Send + 'static,
Spawns a future that doesn’t implement Send.
The spawned future will be executed on the same thread that called spawn_local.
spawn_local