pub struct PipelineExecutor { /* private fields */ }Expand description
The core pipeline execution engine.
Manages the flow of items through stages using tokio channels.
Implementations§
Source§impl PipelineExecutor
impl PipelineExecutor
Sourcepub fn new(
config: PipelineConfig,
event_tx: Option<EventSender>,
run_id: Uuid,
) -> Self
pub fn new( config: PipelineConfig, event_tx: Option<EventSender>, run_id: Uuid, ) -> Self
Create a new pipeline executor.
Sourcepub fn execute(
&self,
items: Vec<Value>,
) -> Result<PipelineResult, PipelineError>
pub fn execute( &self, items: Vec<Value>, ) -> Result<PipelineResult, PipelineError>
Execute the pipeline with the given items.
Items flow through each stage sequentially. Stage 0 processes all items first, then each item moves to Stage 1, etc. Within each stage, items are processed sequentially through each stage.
Auto Trait Implementations§
impl !RefUnwindSafe for PipelineExecutor
impl !UnwindSafe for PipelineExecutor
impl Freeze for PipelineExecutor
impl Send for PipelineExecutor
impl Sync for PipelineExecutor
impl Unpin for PipelineExecutor
impl UnsafeUnpin for PipelineExecutor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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