Type Alias deskulpt::commands::CommandOut

source ·
pub(crate) type CommandOut<T> = Result<T, String>;
Expand description

The return type of all Tauri commands in Deskulpt.

Aliased Type§

enum CommandOut<T> {
    Ok(T),
    Err(String),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(String)

Contains the error value