pub struct WorkflowIntegration;Implementations§
Source§impl WorkflowIntegration
impl WorkflowIntegration
Sourcepub fn visual_to_dsl(
builder: &VisualPipelineBuilder,
) -> Result<String, WorkflowError>
pub fn visual_to_dsl( builder: &VisualPipelineBuilder, ) -> Result<String, WorkflowError>
Convert a visual workflow to DSL representation
Sourcepub fn visual_to_execution(
builder: &VisualPipelineBuilder,
context: ExecutionContext,
) -> Result<WorkflowExecutor, WorkflowError>
pub fn visual_to_execution( builder: &VisualPipelineBuilder, context: ExecutionContext, ) -> Result<WorkflowExecutor, WorkflowError>
Load a workflow from visual builder into execution engine
Sourcepub fn visual_to_code(
builder: &VisualPipelineBuilder,
language: TargetLanguage,
) -> Result<String, WorkflowError>
pub fn visual_to_code( builder: &VisualPipelineBuilder, language: TargetLanguage, ) -> Result<String, WorkflowError>
Generate code from visual workflow
Sourcepub fn dsl_to_code(
dsl_code: &str,
language: TargetLanguage,
) -> Result<String, WorkflowError>
pub fn dsl_to_code( dsl_code: &str, language: TargetLanguage, ) -> Result<String, WorkflowError>
Parse DSL and generate code in one operation
Auto Trait Implementations§
impl Freeze for WorkflowIntegration
impl RefUnwindSafe for WorkflowIntegration
impl Send for WorkflowIntegration
impl Sync for WorkflowIntegration
impl Unpin for WorkflowIntegration
impl UnwindSafe for WorkflowIntegration
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more