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
Before the introduction of MapHandle it was possible to create a Map
using libbpf_rs and to iterate over its keys (with care). But now the
helper is only available for Map as it was not moved alongside the
other public functions. Fix this by moving the keys() helper to
MapHandle, still allowing Map objects to use it thanks to the Deref
impl.
For the above to work, make MapKeyIter reference a MapHandle.
Signed-off-by: Antoine Tenart <[email protected]>
0 commit comments