Trait ActionCallback
tauri_react
pub trait ActionCallback<T: ApplicationState>: Fn(T, Value) -> Result<T> + Send + Sync + 'static { }