tiny.reducer.Status
Defined in bytes.storage.
Snapshot of one workspace's state, taken by value at the moment of the call.
API (4)
Fields and members
Public fields and members.
Source
Source: lib/reducer/src/bytes/storage.zig:74
zig
/// Snapshot of one workspace's state, taken by value at the moment of the call.pub const Status = struct { /// Workspace current phase, one of `.initialization`, `.steady`, or /// `.teardown`. phase: alloc_phase.capacity.Phase, /// Flag recording whether a running reduction or a `Result` whose /// `deinit()` has yet to be called currently holds the workspace. in_use: bool, /// Derived capacity the workspace was configured for, which is /// $N + \max(N - 1, 0)$ bytes. The figure is a record of the configured /// size, and it stays recorded after teardown. storage_bytes: usize, /// Longest input in bytes this workspace serves, which is $N$. max_input_bytes: usize,};Source: lib/reducer/src/root.zig:347
zig
/// Snapshot of one workspace's state, taken by value at the moment of the call.pub const Status = bytes.Status;Also reachable as
Audit
| Definitions | 1 |
|---|---|
| Public names | 3 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |