1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
use crateAsyncPipe;
use crate::;
use Pin;
use Arc;
/// Shared pipeline execution result.
///
/// A pipeline result represents either a successfully processed value
/// or an error returned by a pipeline step during execution.
///
/// **Generics**
/// - `TPassable` - The successful value produced by the pipeline.
/// - `TError` - The error type returned when execution fails.
pub type PipelineResult<TPassable, TError = PipelineError> = ;
/// Shared pipeline step definition.
///
/// A pipeline step receives the current passable value and may either
/// continue execution, modify the value, stop the chain, or return an error.
///
/// **Generics**
/// - `TPassable` - The value flowing through the pipeline.
/// - `TError` - The error type returned when the step fails.
pub type PipelineStep<TPassable, TError = PipelineError> =
;
/// Shared asynchronous pipeline step definition.
///
/// An asynchronous pipeline step receives the current passable value and may
/// either continue execution, modify the value, stop the chain, or return an
/// error after awaiting asynchronous work.
///
/// **Generics**
/// - `TPassable` - The value flowing through the pipeline.
/// - `TError` - The error type returned when the step fails.
pub type AsyncPipelineStep<TPassable, TError = PipelineError> =
;
/// Boxed future returned by asynchronous pipeline operations.
///
/// **Generics**
/// - `TPassable` - The value produced by the asynchronous operation.
/// - `TError` - The error type returned when the operation fails.
pub type AsyncPipelineFuture<'a, TPassable, TError = PipelineError> =
;
/// Final callback used by asynchronous pipeline continuations.
///
/// **Generics**
/// - `TPassable` - The value passed to the destination callback.
/// - `TError` - The error type returned when the destination fails.
pub type AsyncPipelineDestination<'a, TPassable, TError = PipelineError> =
dyn Fn + Sync + 'a;
pub type FinallyCallback<TPassable> = ;