Struct libbpf_rs::query::MapInfo[][src]

pub struct MapInfo {
Show fields pub name: String, 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: Stringty: MapTypeid: u32key_size: u32value_size: u32max_entries: u32map_flags: u32ifindex: u32btf_vmlinux_value_type_id: u32netns_dev: u64netns_ino: u64btf_id: u32btf_key_type_id: u32btf_value_type_id: u32

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.