isolate

Function isolate 

Source
pub fn isolate<F, T>(f: F) -> IsolationResult<T>
where F: FnOnce() -> T + UnwindSafe + Send + 'static, T: Send + 'static,