pub type CommandResult = Result<String, Error>;

Aliased Type§

enum CommandResult {
    Ok(String),
    Err(Box<dyn Error + Sync + Send>),
}

Variants§

§1.0.0

Ok(String)

Contains the success value

§1.0.0

Err(Box<dyn Error + Sync + Send>)

Contains the error value