Struct libbpf_sys::bpf_map_info [−][src]
#[repr(C)]pub struct bpf_map_info {}Show 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_: __u32
id: __u32
key_size: __u32
value_size: __u32
max_entries: __u32
map_flags: __u32
name: [c_char; 16]
ifindex: __u32
btf_vmlinux_value_type_id: __u32
netns_dev: __u64
netns_ino: __u64
btf_id: __u32
btf_key_type_id: __u32
btf_value_type_id: __u32
Trait Implementations
impl Clone for bpf_map_info
[src]
impl Clone for bpf_map_info
[src]fn clone(&self) -> bpf_map_info
[src]
fn clone(&self) -> bpf_map_info
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for bpf_map_info
[src]
impl Debug for bpf_map_info
[src]impl Default for bpf_map_info
[src]
impl Default for bpf_map_info
[src]fn default() -> bpf_map_info
[src]
fn default() -> bpf_map_info
[src]Returns the “default value” for a type. Read more
impl Copy for bpf_map_info
[src]
Auto Trait Implementations
impl RefUnwindSafe for bpf_map_info
impl Send for bpf_map_info
impl Sync for bpf_map_info
impl Unpin for bpf_map_info
impl UnwindSafe for bpf_map_info
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more