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
//! Core value layer shared by the pipeline front-ends.
//!
//! This crate (imported as `pipeline`) provides the dirty/validity-tracking
//! value types — [`value::Value`], [`value::Vector`], [`value::Buckets`] — and
//! the [`Reset`] trait the engines use to clear per-cycle state. It contains no
//! macros and no graph machinery; the static (`pipeline-dsl`) and dynamic
//! (`pipeline-graph`) front-ends are built on top of it.
/// Convenience root re-exports so callers can write `pipeline::Vector` etc.
/// (the canonical paths under `pipeline::value::*` remain available too).
pub use ;
use Error;
/// Errors produced by the value layer.
/// Clears a value's **per-cycle dirty state** (contents and validity are
/// preserved). The pipeline engines call this at the end of each `compute()`
/// on written and externally-fed nodes.
/// Query a value's **per-cycle dirty state**: whether it changed this cycle
/// (written *or* invalidated). The pipeline engines use this to decide whether a
/// stage has any fresh input. The read-side mirror of [`Reset`].
/// Per-stage execution counters, shared by both front-ends' optional stats
/// support (`pipeline-graph`'s `Pipeline::stats`, `pipeline-dsl`'s
/// `#[pipeline(stats)]`). Stored contiguously and handed out by reference, so
/// reading them costs nothing regardless of how this struct grows.