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.
heading_counthigh_water_headingshigh_water_id_byteshigh_water_text_bytesid_bytesin_usemax_headingsmax_id_bytesmax_text_bytesphaserejected_source_countstorage_bytestext_bytes
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
Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 13 |
| Version | 26.7.0 |
| Revision | daab053ee433 |