| 1 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::iorust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/; |
| 2 | |
| 3 | pub enum StageActionsrust-analyzer cargo transformation-pipeline 0.1.0 result/StageActions#<T> { |
| 4 | |
| 5 | // Abort the entire pipeline (returning an error). |
| 6 | Abortrust-analyzer cargo transformation-pipeline 0.1.0 result/StageActions#Abort#, |
| 7 | |
| 8 | // Stop the current stage, and call the next stage with the input data. |
| 9 | Skiprust-analyzer cargo transformation-pipeline 0.1.0 result/StageActions#Skip#, |
| 10 | |
| 11 | // Continue to the next pipeline stage, passing the given data. |
| 12 | Nextrust-analyzer cargo transformation-pipeline 0.1.0 result/StageActions#Next#(T), |
| 13 | |
| 14 | // Jump (x) number of pipeline stages in the future, passing the given data. |
| 15 | Jumprust-analyzer cargo transformation-pipeline 0.1.0 result/StageActions#Jump#(u8, T), |
| 16 | |
| 17 | // Finish the entire pipeline early with the given data. |
| 18 | Finishrust-analyzer cargo transformation-pipeline 0.1.0 result/StageActions#Finish#(T), |
| 19 | } |
| 20 | |
| 21 | pub type StageResultrust-analyzer cargo transformation-pipeline 0.1.0 result/StageResult#<T> = Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<StageActionsrust-analyzer cargo transformation-pipeline 0.1.0 result/StageActions#<T>, iorust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/::Errorrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/error/Error#>; |