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
use CapabilityName;
/// Returns the `stream.open` capability name gating source/sink construction.
///
/// The prelude's `stream/open` function requires this capability before it
/// builds a memory stream handle.
/// Returns the `stream.read` capability name gating packet reads.
///
/// Functions that pull packets (for example `stream/next!`, `stream/run!`, and
/// the combinator stages) require this capability.
/// Returns the `stream.write` capability name gating sink writes.
///
/// Functions that push packets into a sink (for example `stream/write!` and a
/// pipeline that runs into a sink) require this capability.
/// Returns the `stream.control` capability name gating live control cells.
///
/// The live control surface (for example `stream/cell-set!`) requires this
/// capability before mutating a versioned control cell.
/// Returns the `stream.transform` capability name gating shape-aware stages.
///
/// Combinator stages that evaluate caller-supplied shapes or callables (for
/// example `stream/filter-shape` and `stream/map-expr`) require this
/// capability in addition to `stream.read`.