#[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,
pub value_type_btf_obj_fd: __s32,
pub token_fd: __u32,
}
Fields§
§sz: size_t
§btf_fd: __u32
§btf_key_type_id: __u32
§btf_value_type_id: __u32
§btf_vmlinux_value_type_id: __u32
§inner_map_fd: __u32
§map_flags: __u32
§map_extra: __u64
§numa_node: __u32
§map_ifindex: __u32
§value_type_btf_obj_fd: __s32
§token_fd: __u32
Trait Implementations§
Source§impl Clone for bpf_map_create_opts
impl Clone for bpf_map_create_opts
Source§fn clone(&self) -> bpf_map_create_opts
fn clone(&self) -> bpf_map_create_opts
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for bpf_map_create_opts
impl Debug for bpf_map_create_opts
Source§impl Default for bpf_map_create_opts
impl Default for bpf_map_create_opts
Source§fn default() -> bpf_map_create_opts
fn default() -> bpf_map_create_opts
Returns the “default value” for a type. Read more
impl Copy for bpf_map_create_opts
Auto Trait Implementations§
impl Freeze for bpf_map_create_opts
impl RefUnwindSafe for bpf_map_create_opts
impl Send for bpf_map_create_opts
impl Sync for bpf_map_create_opts
impl Unpin for bpf_map_create_opts
impl UnwindSafe for bpf_map_create_opts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)