PluginResult

Type Alias PluginResult 

Source
pub type PluginResult = Result<(), Box<dyn Error + Send + Sync>>;
Expand description

The result type used by plugin lifecycle hooks.

Aliased Type§

pub enum PluginResult {
    Ok(()),
    Err(Box<dyn Error + Sync + Send>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Box<dyn Error + Sync + Send>)

Contains the error value