pub struct AstroRunner { /* private fields */ }Implementations§
Source§impl AstroRunner
impl AstroRunner
pub fn builder() -> AstroRunnerBuilder
Trait Implementations§
Source§impl Clone for AstroRunner
impl Clone for AstroRunner
Source§fn clone(&self) -> AstroRunner
fn clone(&self) -> AstroRunner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Runner for AstroRunner
impl Runner for AstroRunner
fn on_workflow_completed<'life0, 'async_trait>(
&'life0 self,
result: WorkflowRunResult,
) -> Pin<Box<dyn Future<Output = HookNoopResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 self,
ctx: Context,
) -> Pin<Box<dyn Future<Output = RunResponse> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn on_run_workflow<'life0, 'async_trait>(
&'life0 self,
_event: RunEvent<Workflow>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_run_job<'life0, 'async_trait>(
&'life0 self,
_event: RunEvent<Job>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_before_run_step<'life0, 'async_trait>(
&'life0 self,
step: Step,
) -> Pin<Box<dyn Future<Output = Result<Step, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_run_step<'life0, 'async_trait>(
&'life0 self,
_event: RunEvent<Step>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_state_change<'life0, 'async_trait>(
&'life0 self,
_event: WorkflowStateEvent,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_log<'life0, 'async_trait>(
&'life0 self,
_log: WorkflowLog,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_step_completed<'life0, 'async_trait>(
&'life0 self,
_result: StepRunResult,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_job_completed<'life0, 'async_trait>(
&'life0 self,
_result: JobRunResult,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for AstroRunner
impl !UnwindSafe for AstroRunner
impl Freeze for AstroRunner
impl Send for AstroRunner
impl Sync for AstroRunner
impl Unpin for AstroRunner
impl UnsafeUnpin for AstroRunner
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