Expand description
Fallible codec storage and work checks. No process-global allocator changes.
Modules§
- atomic
- Checked atomic ledger updates shared by import and Native resource owners.
Structs§
Traits§
- Iterator
Resource - Resource
Budget - The requesting importer owns counters, limits, cancellation, and sticky errors.
- Slice
Resource - VecResource
- Fallible methods preserve normal Vec reborrowing at decoder call sites.
Functions§
- append
- capacity
- collect
- copy
- extend
- filled
- iterations
- Reserve a finite iterator’s work once; unknown-length iterators check each step.
- product
- push
- reject
- reserve
- resize
- sort
- Stable ordering with explicitly fallible index storage instead of hidden allocator-owned sort scratch. Ties preserve the original input order.
- try_
collect - Collect fallible elements without an unaccounted intermediate allocation.
- work
- Charge before the corresponding repeated work. Zero checks cancellation too.