Function spawn

Source
pub fn spawn<Fut: Future<Output = ()> + Send + 'static>(future: Fut)
Expand description

spawn and detach a Future that returns ()