Struct libbpf_sys::bpf_map_def
source · [−]#[repr(C)]pub struct bpf_map_def {
pub type_: c_uint,
pub key_size: c_uint,
pub value_size: c_uint,
pub max_entries: c_uint,
pub map_flags: c_uint,
}
Fields
type_: c_uint
key_size: c_uint
value_size: c_uint
max_entries: c_uint
map_flags: c_uint
Trait Implementations
sourceimpl Clone for bpf_map_def
impl Clone for bpf_map_def
sourcefn clone(&self) -> bpf_map_def
fn clone(&self) -> bpf_map_def
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for bpf_map_def
impl Debug for bpf_map_def
sourceimpl Default for bpf_map_def
impl Default for bpf_map_def
sourcefn default() -> bpf_map_def
fn default() -> bpf_map_def
Returns the “default value” for a type. Read more
impl Copy for bpf_map_def
Auto Trait Implementations
impl RefUnwindSafe for bpf_map_def
impl Send for bpf_map_def
impl Sync for bpf_map_def
impl Unpin for bpf_map_def
impl UnwindSafe for bpf_map_def
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more