Skip to documentation
SLOP

tiny.zen.HeadingStorageStatus

Reference tiny.zen HeadingStorageStatus

Defined in tiny.zen.

Observable capacity, current demand, high-water demand, and rejections.

API (13)

Fields and members

Public fields and members.

No direct callersNo direct callstiny.zenHeadingStorageStatus
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/zen/src/document/storage.zig:16

zig
/// Observable capacity, current demand, high-water demand, and rejections.pub const Status = struct {    /// Initialization, steady, or teardown lifecycle phase.    phase: alloc_phase.capacity.Phase,    /// True while a returned document still borrows this storage.    in_use: bool,    /// Total bytes acquired during initialization.    storage_bytes: usize,    max_headings: usize,    max_text_bytes: usize,    max_id_bytes: usize,    heading_count: usize,    text_bytes: usize,    id_bytes: usize,    /// Largest heading count admitted since activation.    high_water_headings: usize,    /// Largest visible-text demand admitted since activation.    high_water_text_bytes: usize,    /// Largest ID-byte demand admitted since activation.    high_water_id_bytes: usize,    /// Saturating count of capacity and in-use rejections.    rejected_source_count: u64,};

Source: lib/zen/src/root.zig:196

zig
/// Reports active, high-water, and rejected heading demand.pub const HeadingStorageStatus = document.Status;

Also reachable as

document.Status.

Audit

Definitions1
Public names2
Members13
Version26.7.0
Revisiondaab053ee433