pub struct CompiledWorkflow { /* private fields */ }Expand description
A validated, optimized workflow reusable across input sets.
Implementations§
Source§impl CompiledWorkflow
impl CompiledWorkflow
Sourcepub const fn explain(&self) -> &Explanation
pub const fn explain(&self) -> &Explanation
Returns both the logical summary and optimized physical plan.
Sourcepub fn run(
&self,
inputs: &WorkflowInputs,
context: &ExecutionContext,
) -> Result<WorkflowResults, WorkflowError>
pub fn run( &self, inputs: &WorkflowInputs, context: &ExecutionContext, ) -> Result<WorkflowResults, WorkflowError>
Executes the physical graph in stable topological order.
§Errors
Returns a missing/type input error, cancellation, memory refusal or the first kernel failure. No partial result is published.
Trait Implementations§
Source§impl Clone for CompiledWorkflow
impl Clone for CompiledWorkflow
Auto Trait Implementations§
impl !RefUnwindSafe for CompiledWorkflow
impl !UnwindSafe for CompiledWorkflow
impl Freeze for CompiledWorkflow
impl Send for CompiledWorkflow
impl Sync for CompiledWorkflow
impl Unpin for CompiledWorkflow
impl UnsafeUnpin for CompiledWorkflow
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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