pub type CommandResult<T> = Result<T, String>;Expand description
The result shape every #[tauri::command] handler in a Soma-derived
desktop app should return: Ok(T) on success, or a display-formatted
error string the frontend can show directly.
Aliased Type§
pub enum CommandResult<T> {
Ok(T),
Err(String),
}