Struct rootasrole_core::api::PluginManager
source · pub struct PluginManager { /* private fields */ }Implementations§
source§impl PluginManager
impl PluginManager
pub fn new() -> Self
pub fn subscribe_caps_filter(plugin: CapsFilter)
pub fn subscribe_complex_command_parser(plugin: ComplexCommandParser)
pub fn notify_caps_filter( task: &STask, capabilities: &mut CapSet, ) -> PluginResultAction
pub fn notify_complex_command_parser( command: &Value, ) -> Result<Vec<String>, Box<dyn Error>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginManager
impl RefUnwindSafe for PluginManager
impl Send for PluginManager
impl Sync for PluginManager
impl Unpin 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