Expand description
Shared storage accounting for independently owned results.
The caller creates the trusted account before processing input. Containers retain that account independently of any parser and release their charge only when the backing allocation is deallocated. Input buffers supplied by the caller are outside these allocations; borrowed views do not copy them.
Structs§
- Execution
- A borrowed aggregate account and original parser-session work ceiling.
- Memory
- A shared storage domain retained by owned results.
- Memory
Account - Caller-owned accounting state, constructed without allocating memory.
- Memory
Reservation - A reservation retained alongside an adapter-owned allocation.
- Owned
Iter - An owning iterator that retains capacity accounting until storage is freed.
- Owned
Map - A hash map whose backing allocation and operations share one resource domain.
- Owned
String - Independently owned UTF-8 text with retained capacity accounting.
- Owned
Text - Single-owner validated UTF-8 retaining its original capacity charge.
- Owned
Vec - An owned collection whose capacity remains charged until deallocation.
- Shared
String - Shared immutable UTF-8, with non-atomic, allocation-free handle cloning.
- Text
Error - Failed text construction retaining the unchanged original buffer.
Enums§
- Memory
Error - A failed storage operation, distinct from malformed input.
- Retain
Error - A refused in-place filter, preserving the predicate’s own cause.
- Sort
Error - A refused sort, preserving the comparator’s own error and provenance.
- Text
Error Kind - Why an existing byte buffer could not become immutable UTF-8 text.