Glossary: Desktop Apps with Electron and Tauri
Result
Also written: Ok, Err, Result<T, String>
A Rust type for either success (`Ok`) or failure (`Err`). A Tauri command's `Ok` resolves the page's promise and `Err` rejects it.
Glossary: Desktop Apps with Electron and Tauri
Also written: Ok, Err, Result<T, String>
A Rust type for either success (`Ok`) or failure (`Err`). A Tauri command's `Ok` resolves the page's promise and `Err` rejects it.