#[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_uintTrait Implementations§
Source§impl Clone for bpf_map_def
impl Clone for bpf_map_def
Source§fn clone(&self) -> bpf_map_def
fn clone(&self) -> bpf_map_def
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_def
impl Debug for bpf_map_def
impl Copy for bpf_map_def
impl Pod for bpf_map_def
Auto Trait Implementations§
impl Freeze for bpf_map_def
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§
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