pub struct MapInfo {Show 14 fields
pub name: CString,
pub ty: MapType,
pub id: u32,
pub key_size: u32,
pub value_size: u32,
pub max_entries: u32,
pub map_flags: u32,
pub ifindex: u32,
pub btf_vmlinux_value_type_id: u32,
pub netns_dev: u64,
pub netns_ino: u64,
pub btf_id: u32,
pub btf_key_type_id: u32,
pub btf_value_type_id: u32,
}
Expand description
Information about a BPF map
Fields§
§name: CString
§ty: MapType
§id: u32
§key_size: u32
§value_size: u32
§max_entries: u32
§map_flags: u32
§ifindex: u32
§btf_vmlinux_value_type_id: u32
§netns_dev: u64
§netns_ino: u64
§btf_id: u32
§btf_key_type_id: u32
§btf_value_type_id: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapInfo
impl RefUnwindSafe for MapInfo
impl Send for MapInfo
impl Sync for MapInfo
impl Unpin for MapInfo
impl UnwindSafe for MapInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more