pub struct PluginManager { /* private fields */ }Implementations§
Source§impl PluginManager
impl PluginManager
pub fn new(config_home: impl Into<PathBuf>) -> Self
pub fn plugin_registry(&self) -> Result<PluginRegistry, PluginError>
pub fn list_plugins(&self) -> Result<Vec<PluginSummary>, PluginError>
Sourcepub fn install(&mut self, source: &str) -> Result<InstallOutcome, PluginError>
pub fn install(&mut self, source: &str) -> Result<InstallOutcome, PluginError>
Install a plugin from a local directory path.
Auto Trait Implementations§
impl Freeze for PluginManager
impl RefUnwindSafe for PluginManager
impl Send for PluginManager
impl Sync for PluginManager
impl Unpin for PluginManager
impl UnsafeUnpin for PluginManager
impl UnwindSafe for PluginManager
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