Function alternate_future::spawn_future [] [src]

pub fn spawn_future<F, T>(func: F) -> Future<T> where F: FnOnce() -> T + Send + 'static, T: Send + 'static