pub struct PluginDriver { /* private fields */ }
Implementations§
Source§impl PluginDriver
impl PluginDriver
pub fn new(plugins: Vec<Box<dyn Plugin>>) -> Self
pub async fn on_state_change(&self, event: WorkflowStateEvent)
pub async fn on_log(&self, log: WorkflowLog)
pub async fn on_run_workflow(&self, event: RunWorkflowEvent)
pub async fn on_run_job(&self, event: RunJobEvent)
pub async fn on_run_step(&self, event: RunStepEvent)
pub async fn on_workflow_completed(&self, result: WorkflowRunResult)
pub async fn on_job_completed(&self, result: JobRunResult)
pub async fn on_step_completed(&self, result: StepRunResult)
pub async fn on_before_run_step(&self, step: Step) -> Step
pub async fn on_resolve_dynamic_action( &self, step: UserActionStep, ) -> Option<Box<dyn Action>>
Auto Trait Implementations§
impl Freeze for PluginDriver
impl !RefUnwindSafe for PluginDriver
impl Send for PluginDriver
impl Sync for PluginDriver
impl Unpin for PluginDriver
impl !UnwindSafe for PluginDriver
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