rust: common trait for reading from bpf maps

Creates a trait in the `bpf_map` module that facilitates reading from
various different bpf maps (and thus various different types) in a type
safe way with minimal boilerplate.

Bug: 400115326
Flag: EXEMPT unused executable not yet mapped into apex
Test: TH
Change-Id: I608d5cc4f1fe3297ae0be1c8942c15885fc2febf
1 file changed
tree: c629c0743bf424d677e56904e2466a403f8ac59a
  1. apex/
  2. rust/
  3. src/
  4. OWNERS
  5. PREUPLOAD.cfg