You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I currently try to use this library in a tool of mine (https://github.com/janstarke/regview). However, I've a lot of trouble while storing KeyNodes in a datastructure, because they need to have a reference lifetime in their generic parameters:
Is there a way to change the API, so that the caller chooses which DeRef-implementation shall be used? I could imagine that one preferably used Rc<Hive> or something similar when building dynamic data structures.
Kind regards, Jan
The text was updated successfully, but these errors were encountered:
Using custom type without lifetime parameters solves a lot these issues. However, this requires that this type can implement zerocopy::ByteSlice, which is forbidden. See #3 as idea of how to solve this
Hi, I currently try to use this library in a tool of mine (https://github.com/janstarke/regview). However, I've a lot of trouble while storing KeyNodes in a datastructure, because they need to have a reference lifetime in their generic parameters:
Is there a way to change the API, so that the caller chooses which
DeRef
-implementation shall be used? I could imagine that one preferably usedRc<Hive>
or something similar when building dynamic data structures.Kind regards, Jan
The text was updated successfully, but these errors were encountered: