Skip to main content

PluginResult

Type Alias PluginResult 

Source
pub type PluginResult = Result<HashMap<String, Value>, PluginError>;
Expand description

Type alias for plugin function results.

Aliased Type§

pub enum PluginResult {
    Ok(HashMap<String, Value>),
    Err(PluginError),
}

Variants§

§1.0.0

Ok(HashMap<String, Value>)

Contains the success value

§1.0.0

Err(PluginError)

Contains the error value