Skip to main content

PluginResult

Type Alias PluginResult 

Source
pub type PluginResult = Result<PluginOutput, PluginExecutionError>;
Expand description

The result of a plugin execution: either success or an error with the context preserved.

Aliased Type§

pub enum PluginResult {
    Ok(PluginOutput),
    Err(PluginExecutionError),
}

Variants§

§1.0.0

Ok(PluginOutput)

Contains the success value

§1.0.0

Err(PluginExecutionError)

Contains the error value