#[repr(C)]pub struct bpf_map {
pub map_type: bpf_map_type,
pub key_size: u32,
pub value_size: u32,
pub max_entries: u32,
pub map_extra: u64,
pub map_flags: u32,
pub id: u32,
}Fields§
§map_type: bpf_map_type§key_size: u32§value_size: u32§max_entries: u32§map_extra: u64§map_flags: u32§id: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for bpf_map
impl RefUnwindSafe for bpf_map
impl Send for bpf_map
impl Sync for bpf_map
impl Unpin for bpf_map
impl UnsafeUnpin for bpf_map
impl UnwindSafe for bpf_map
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