CommandResult

Type Alias CommandResult 

pub type CommandResult = Result<Vec<u8>, CommandError>;
Expand description

Result returned by a binary ShellAPI command.

Aliased Type§

pub enum CommandResult {
    Ok(Vec<u8>),
    Err(CommandError),
}

Variants§

§1.0.0

Ok(Vec<u8>)

Contains the success value

§1.0.0

Err(CommandError)

Contains the error value