Struct astro_run::PluginManager
source · pub struct PluginManager { /* private fields */ }
Implementations§
source§impl PluginManager
impl PluginManager
pub fn new() -> Self
pub fn size(&self) -> usize
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)
pub fn on_run_workflow(&self, workflow: Workflow)
pub fn on_run_job(&self, job: Job)
pub fn on_run_step(&self, step: Step)
pub fn on_workflow_completed(&self, result: WorkflowRunResult)
pub fn on_job_completed(&self, result: JobRunResult)
pub fn on_step_completed(&self, result: StepRunResult)
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