//! Support for BPF maps that contain references to other maps.
pub use ArrayOfMaps;
pub use HashOfMaps;
use ;
/// Converts a map ID returned by the kernel into a typed map.
///
/// The kernel's map-of-maps API is asymmetric: update takes the FD of the inner map,
/// but lookup returns the ID. This helper converts the ID back to an FD and constructs
/// the typed map via [`FromMapData`].