Result

Type Alias Result 

Source
pub type Result = Result<String, Error>;
Expand description

Type returned by the wrap_* family of macros. Will either be Ok(stdout) or an error containing code, stdout and stderr resulting from executing the command.

Aliased Type§

pub enum Result {
    Ok(String),
    Err(Error),
}

Variants§

§1.0.0

Ok(String)

Contains the success value

§1.0.0

Err(Error)

Contains the error value