qcell icon indicating copy to clipboard operation
qcell copied to clipboard

Consider adding generic cell-owner and cell types, to handle alternative key-management approaches

Open uazu opened this issue 4 years ago • 0 comments

If someone wants to do their own key management (e.g. u64 key, panic on exhaustion instead of free list, etc), then have some types that they can plug their own 'key' type into, and that does the cell borrowing handling for them. These would typically be wrapped in type aliases to make them more ergonomic.

It might be necessary to have two sets of these, for each of TLCell-like and TCell-like, i.e. with or without Sync access to the cells.

uazu avatar Aug 19 '21 17:08 uazu