pub struct Pipeline {
pub steps: Vec<Composable>,
}Expand description
Sequential pipeline: execute steps in order, passing state between them.
Fields§
§steps: Vec<Composable>Ordered steps to execute sequentially.
Implementations§
Source§impl Pipeline
impl Pipeline
Sourcepub fn new(steps: Vec<Composable>) -> Self
pub fn new(steps: Vec<Composable>) -> Self
Create a pipeline from the given steps.
Sourcepub fn builder(_name: &str) -> Self
pub fn builder(_name: &str) -> Self
Create an empty named pipeline (fluent builder entry point).
ⓘ
Pipeline::builder("etl")
.step(extract_agent)
.step(transform_agent)
.step(load_agent)Sourcepub fn step(self, agent: impl Into<Composable>) -> Self
pub fn step(self, agent: impl Into<Composable>) -> Self
Add a sequential step to this pipeline (fluent builder).
Sourcepub fn sub_agent(self, agent: AgentBuilder) -> Self
pub fn sub_agent(self, agent: AgentBuilder) -> Self
Add a sub-agent step (alias for step — matches upstream naming).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pipeline
impl !RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl !UnwindSafe for Pipeline
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