Function nvim_gtk::nvim::handler::safe_call [−][src]
fn safe_call<F>(shell: Arc<UiMutex<State>>, cb: F) where
F: FnOnce(&Arc<UiMutex<State>>) -> Result<(), String> + 'static + Send,
fn safe_call<F>(shell: Arc<UiMutex<State>>, cb: F) where
F: FnOnce(&Arc<UiMutex<State>>) -> Result<(), String> + 'static + Send,