pub struct AdvancedPluginManager { /* private fields */ }Expand description
Advanced plugin manager with hot-loading capabilities
Implementations§
Source§impl AdvancedPluginManager
impl AdvancedPluginManager
Sourcepub fn new(config: PluginConfig) -> SklResult<Self>
pub fn new(config: PluginConfig) -> SklResult<Self>
Create a new advanced plugin manager
Sourcepub fn install_from_marketplace(
&mut self,
plugin_name: &str,
version: Option<&SemanticVersion>,
) -> SklResult<()>
pub fn install_from_marketplace( &mut self, plugin_name: &str, version: Option<&SemanticVersion>, ) -> SklResult<()>
Install a plugin from the marketplace
Sourcepub fn upgrade_plugin(
&mut self,
plugin_name: &str,
target_version: &SemanticVersion,
) -> SklResult<()>
pub fn upgrade_plugin( &mut self, plugin_name: &str, target_version: &SemanticVersion, ) -> SklResult<()>
Upgrade a plugin to a newer version
Sourcepub fn get_plugin_metrics(&self, plugin_name: &str) -> Option<PluginMetrics>
pub fn get_plugin_metrics(&self, plugin_name: &str) -> Option<PluginMetrics>
Get plugin performance metrics
Sourcepub fn get_security_report(&self, plugin_name: &str) -> SecurityReport
pub fn get_security_report(&self, plugin_name: &str) -> SecurityReport
Get security report for a plugin
Sourcepub fn search_marketplace(
&self,
query: &str,
tags: &[String],
) -> Vec<MarketplaceEntry>
pub fn search_marketplace( &self, query: &str, tags: &[String], ) -> Vec<MarketplaceEntry>
Search marketplace for plugins
Auto Trait Implementations§
impl Freeze for AdvancedPluginManager
impl RefUnwindSafe for AdvancedPluginManager
impl Send for AdvancedPluginManager
impl Sync for AdvancedPluginManager
impl Unpin for AdvancedPluginManager
impl UnwindSafe for AdvancedPluginManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more