Derive Debug
Possible to derive Debug trait output for some of the public-facing structs?
Besides the ability to debug from the output, when we build higher-level structs that use libbpf-rs's types internally, we can't derive Debug for our custom structs because we get a compiler error notifying us that libbpf-rs's types themselves don't implement Debug.
It seems like we already do this for some structs but not others.
Agreed, we most likely should do that.
@mdaverde Are you interested in creating a pull request adding these derives? Should probably include warning on the missing_debug_implementations lint.
With https://github.com/libbpf/libbpf-rs/pull/266 merged the scope of this issue got reduced to adding a few more Debug implementations to structs containing pointers.