Weak
#2
Labels
domain: Rust
Involves Rust code.
priority: someday
If you need this, please let me know!
type: feature
Brand new functionality, features, pages, workflows, endpoints, etc.
work: emergent
The goal isn't known, but a plan exists.
Is your feature request related to a problem? Please describe.
The crate API can be extended to also support weak references, with an additional (double) counter that implements
Sealed
.This will have to override most of the default implementations to also support weak counts. The decrement API may have to be expanded a bit.
Describe the solution you'd like
Mostly covered above, otherwise emergent.
Describe alternatives you've considered
None.
Additional context
This could be tricky. It's likely best to look at the standard library's implementation a lot.
The text was updated successfully, but these errors were encountered: