[][src]Struct libbpf_sys::bpf_create_map_attr

#[repr(C)]pub struct bpf_create_map_attr {
    pub name: *const c_char,
    pub map_type: bpf_map_type,
    pub map_flags: __u32,
    pub key_size: __u32,
    pub value_size: __u32,
    pub max_entries: __u32,
    pub numa_node: __u32,
    pub btf_fd: __u32,
    pub btf_key_type_id: __u32,
    pub btf_value_type_id: __u32,
    pub map_ifindex: __u32,
    pub __bindgen_anon_1: bpf_create_map_attr__bindgen_ty_1,
}

Fields

name: *const c_charmap_type: bpf_map_typemap_flags: __u32key_size: __u32value_size: __u32max_entries: __u32numa_node: __u32btf_fd: __u32btf_key_type_id: __u32btf_value_type_id: __u32map_ifindex: __u32__bindgen_anon_1: bpf_create_map_attr__bindgen_ty_1

Trait Implementations

impl Clone for bpf_create_map_attr[src]

impl Copy for bpf_create_map_attr[src]

impl Default for bpf_create_map_attr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.