Crate waterworks
source ·Enums§
Continue
describes whether a pipeline should continue running after its inspection callback returns.
Traits§
- A
Pipeline
describes a full sequence ofStage
s, each executing in sequence. The pipeline as a whole takes in a definedStart
(theInput
of the firstStage
) and returns aPipelineResult
of eitherEnd
(theOutput
)of the finalStage
),Error
if either of theStage
s returns an error, orPipelineResult::Cancelled
if any of the stagee’s inspection callbacks cancels the pipeline execution (seeContinue
)
Functions§
- The
pipeline
method constructs the beginning of a pipeline, running a singleStage
with its associated inspectioncallback
. SeeExtend::and_then
for more information about the inspection callback