timely 0.8.0

A low-latency data-parallel dataflow system in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

/// Information about the operator being constructed
pub struct OperatorInfo {
    /// Scope-local index assigned to the operator being constructed.
    pub local_id: usize,
    /// Worker-unique identifier.
    pub global_id: usize,
}

impl OperatorInfo {
    /// Construct a new `OperatorInfo`.
    pub fn new(local_id: usize, global_id: usize) -> OperatorInfo {
        OperatorInfo {
            local_id,
            global_id,
        }
    }
}