lifetime_thread
pub fn spawn<T, F>(data: T, f: F) -> Outer<T> where T: Send + 'static, F: FnOnce(Inner<T>) + Send + 'static,
Spawns a new thread, return data warpped in Outer
data
Outer