pub struct PluginsRepo<'a> { /* private fields */ }Implementations§
Source§impl PluginsRepo<'_>
impl PluginsRepo<'_>
pub fn install(&self, new: NewPluginInstall) -> Result<PluginInstallRecord>
pub fn get(&self, id: &str) -> Result<Option<PluginInstallRecord>>
pub fn list(&self) -> Result<Vec<PluginInstallRecord>>
pub fn set_enabled(&self, id: &str, enabled: bool) -> Result<()>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PluginsRepo<'a>
impl<'a> !Send for PluginsRepo<'a>
impl<'a> !Sync for PluginsRepo<'a>
impl<'a> !UnwindSafe for PluginsRepo<'a>
impl<'a> Freeze for PluginsRepo<'a>
impl<'a> Unpin for PluginsRepo<'a>
impl<'a> UnsafeUnpin for PluginsRepo<'a>
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