CommandResult

Type Alias CommandResult 

Source
pub type CommandResult = Result<String, Error>;

Aliased Type§

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

Variants§

§1.0.0

Ok(String)

Contains the success value

§1.0.0

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

Contains the error value