pub struct PluginInstallationManager { /* private fields */ }Expand description
Manager for background plugin and marketplace installations
Implementations§
Source§impl PluginInstallationManager
impl PluginInstallationManager
pub fn new() -> Self
pub fn with_set_app_state(self, set_app_state: SetAppState) -> Self
Sourcepub async fn perform_installations(&self)
pub async fn perform_installations(&self)
Perform background plugin installations if set_app_state is configured
Sourcepub fn get_app_state(&self) -> Option<AppState>
pub fn get_app_state(&self) -> Option<AppState>
Get the current app state (read-only snapshot)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginInstallationManager
impl !RefUnwindSafe for PluginInstallationManager
impl Send for PluginInstallationManager
impl Sync for PluginInstallationManager
impl Unpin for PluginInstallationManager
impl UnsafeUnpin for PluginInstallationManager
impl !UnwindSafe for PluginInstallationManager
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