#[repr(C)]
pub struct bpf_map_create_opts { pub sz: size_t, pub btf_fd: __u32, pub btf_key_type_id: __u32, pub btf_value_type_id: __u32, pub btf_vmlinux_value_type_id: __u32, pub inner_map_fd: __u32, pub map_flags: __u32, pub map_extra: __u64, pub numa_node: __u32, pub map_ifindex: __u32, }

Fields

sz: size_tbtf_fd: __u32btf_key_type_id: __u32btf_value_type_id: __u32btf_vmlinux_value_type_id: __u32inner_map_fd: __u32map_flags: __u32map_extra: __u64numa_node: __u32map_ifindex: __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

Returns the “default value” for a type. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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.