pub struct UtilsPlugin { /* private fields */ }Implementations§
Source§impl UtilsPlugin
impl UtilsPlugin
Trait Implementations§
Source§impl Plugin for UtilsPlugin
impl Plugin for UtilsPlugin
Source§fn metadata(&self) -> &PluginMetadata
fn metadata(&self) -> &PluginMetadata
Get plugin metadata
Source§fn initialize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn initialize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Initialize the plugin
Source§fn register_commands(&self) -> HashMap<String, Box<dyn PluginCommand>>
fn register_commands(&self) -> HashMap<String, Box<dyn PluginCommand>>
Register plugin commands
Auto Trait Implementations§
impl Freeze for UtilsPlugin
impl RefUnwindSafe for UtilsPlugin
impl Send for UtilsPlugin
impl Sync for UtilsPlugin
impl Unpin for UtilsPlugin
impl UnsafeUnpin for UtilsPlugin
impl UnwindSafe for UtilsPlugin
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