Function std::task::tryDeprecated [-]  [+] [src]

pub fn try<T, F>(f: F) -> Result<T, Box<Any + Send>> where T: Send, F: FnOnce<(), T>, F: Send

Deprecated: use std::thread::Thread::spawn and join instead.