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