A simple way to call invoke in tauri from rust.
// calls 'tauri_invoke' let future = invoke! { tauri_invoke -> String, foo: 1.0, bar: false, };