pub struct Runner { /* private fields */ }Implementations§
Source§impl Runner
impl Runner
pub fn builder() -> RunnerBuilder
pub fn register_action<T>(&self, name: impl Into<String>, action: T) -> &Selfwhere
T: Action + 'static,
pub fn register_secret(&self, secret: Secret) -> &Self
pub fn register_volume(&self, volume: Volume) -> &Self
pub fn register_plugin<T>(&self, plugin: T) -> &Selfwhere
T: Plugin + 'static,
pub fn on_event<F>(&self, event_handler: F) -> &Self
pub fn create_workflow_runner( &self, options: CreateWorkflowOptions, ) -> Result<WorkflowRunner>
pub fn create_workflow_runner_from_normalized_workflow( &self, workflow: Workflow, event: WorkflowEvent, ) -> Result<WorkflowRunner>
pub fn parse_workflow(&self, options: CreateWorkflowOptions) -> Result<Workflow>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runner
impl !RefUnwindSafe for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl !UnwindSafe for Runner
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