[][src]Struct rebpf::libbpf::bpf_map_info

#[repr(C)]pub struct bpf_map_info {
    pub type_: u32,
    pub id: u32,
    pub key_size: u32,
    pub value_size: u32,
    pub max_entries: u32,
    pub map_flags: u32,
    pub name: [i8; 16],
    pub ifindex: u32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u8>,
    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: [i8; 16]ifindex: u32_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u8>netns_dev: u64netns_ino: u64btf_id: u32btf_key_type_id: u32btf_value_type_id: u32

Methods

impl bpf_map_info[src]

Trait Implementations

impl Clone for bpf_map_info[src]

impl Copy for bpf_map_info[src]

impl Debug for bpf_map_info[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.