Skip to documentation
SLOP

tiny.reducer.Status

Reference 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.

No direct callersNo direct callsbytes.storageStatus
Static calls · unresolved targets: unknown · external targets: unknown.

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

bytes.Status.

Audit

Definitions1
Public names3
Members4
Version26.7.0
Revisiondaab053ee433