Skip to main content

PluginResult

Type Alias PluginResult 

Source
pub type PluginResult = Result<(Library, Vec<Box<dyn Plugin>>), Box<dyn Error>>;
Expand description

Result of loading a plugin library and its exported plugin instances.

Aliased Type§

pub enum PluginResult {
    Ok((Library, Vec<Box<dyn Plugin>>)),
    Err(Box<dyn Error>),
}

Variants§

§1.0.0

Ok((Library, Vec<Box<dyn Plugin>>))

Contains the success value

§1.0.0

Err(Box<dyn Error>)

Contains the error value