Struct astro_run::PluginManager
source · pub struct PluginManager { /* private fields */ }Implementations§
source§impl PluginManager
impl PluginManager
pub fn new() -> Self
pub fn register(&self, plugin: AstroRunPlugin)
pub fn unregister(&self, name: &'static str)
pub fn on_state_change(&self, event: &WorkflowStateEvent)
pub fn on_log(&self, log: &WorkflowLog)
Trait Implementations§
source§impl Clone for PluginManager
impl Clone for PluginManager
source§fn clone(&self) -> PluginManager
fn clone(&self) -> PluginManager
Returns a copy 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 moreAuto Trait Implementations§
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