-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I need to track final dropping of Database object in Arc. In particular I need delete databases (i.e. by calling Database::delete()) which was removed by the application when all references to it is dead.
My idea is a newtype wrapper for Database. I created the struct WrappedDatabase and implemented Deref trait for this newtype, but it still doesn't allows me to create cursors using Arc<WrappedDatabase> because it requires something which implements Into<Supercow<'a, Database>>.
Are anybody known a right solution?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels