Struct bpf_sys::bpf_map_info[][src]

#[repr(C)]
pub struct bpf_map_info {
Show 14 fields pub type_: __u32, pub id: __u32, pub key_size: __u32, pub value_size: __u32, pub max_entries: __u32, pub map_flags: __u32, pub name: [c_char; 16], 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,
}

Fields

type_: __u32id: __u32key_size: __u32value_size: __u32max_entries: __u32map_flags: __u32name: [c_char; 16]ifindex: __u32btf_vmlinux_value_type_id: __u32netns_dev: __u64netns_ino: __u64btf_id: __u32btf_key_type_id: __u32btf_value_type_id: __u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.