pub struct RegisteredPlugin { /* private fields */ }Implementations§
Source§impl RegisteredPlugin
impl RegisteredPlugin
pub fn new(definition: PluginDefinition, enabled: bool) -> Self
pub fn metadata(&self) -> &PluginMetadata
pub fn hooks(&self) -> &PluginHooks
pub fn tools(&self) -> &[PluginTool]
pub fn is_enabled(&self) -> bool
pub fn validate(&self) -> Result<(), PluginError>
pub fn initialize(&self) -> Result<(), PluginError>
pub fn shutdown(&self) -> Result<(), PluginError>
pub fn summary(&self) -> PluginSummary
Trait Implementations§
Source§impl Clone for RegisteredPlugin
impl Clone for RegisteredPlugin
Source§fn clone(&self) -> RegisteredPlugin
fn clone(&self) -> RegisteredPlugin
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisteredPlugin
impl Debug for RegisteredPlugin
Source§impl PartialEq for RegisteredPlugin
impl PartialEq for RegisteredPlugin
impl StructuralPartialEq for RegisteredPlugin
Auto Trait Implementations§
impl Freeze for RegisteredPlugin
impl RefUnwindSafe for RegisteredPlugin
impl Send for RegisteredPlugin
impl Sync for RegisteredPlugin
impl Unpin for RegisteredPlugin
impl UnsafeUnpin for RegisteredPlugin
impl UnwindSafe for RegisteredPlugin
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