Expand description
2026-09-25: Model teardown: ordered, fallible release of state that owns device memory.
Owner: metrale-core. Invariants:
Teardown::release_allcallsreleaseon every registered resource, newest first, even after one fails, and leaves the set empty.
ModelResource and Teardown give an ordered, fallible release path,
which Drop cannot: it is neither ordered across independent values nor
able to report a failure.
Structs§
- Teardown
- 2026-09-25: Releases a set of resources in reverse registration order, the inverse of how they were built, which is the only safe order when later resources borrow earlier ones.
Traits§
- Model
Resource - 2026-09-25: State that owns device memory and must be released in a defined order.