#[repr(C)]pub struct bpf_object_open_opts {Show 15 fields
pub sz: size_t,
pub object_name: *const c_char,
pub relaxed_maps: bool,
pub __bindgen_padding_0: [u8; 7],
pub pin_root_path: *const c_char,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub __bindgen_padding_1: [u8; 4],
pub kconfig: *const c_char,
pub btf_custom_path: *const c_char,
pub kernel_log_buf: *mut c_char,
pub kernel_log_size: size_t,
pub kernel_log_level: __u32,
pub __bindgen_padding_2: [u8; 4],
pub bpf_token_path: *const c_char,
}
Fields§
§sz: size_t
§object_name: *const c_char
§relaxed_maps: bool
§__bindgen_padding_0: [u8; 7]
§pin_root_path: *const c_char
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§__bindgen_padding_1: [u8; 4]
§kconfig: *const c_char
§btf_custom_path: *const c_char
§kernel_log_buf: *mut c_char
§kernel_log_size: size_t
§kernel_log_level: __u32
§__bindgen_padding_2: [u8; 4]
§bpf_token_path: *const c_char
Implementations§
Source§impl bpf_object_open_opts
impl bpf_object_open_opts
pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for bpf_object_open_opts
impl Clone for bpf_object_open_opts
Source§fn clone(&self) -> bpf_object_open_opts
fn clone(&self) -> bpf_object_open_opts
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_object_open_opts
impl Debug for bpf_object_open_opts
Source§impl Default for bpf_object_open_opts
impl Default for bpf_object_open_opts
impl Copy for bpf_object_open_opts
Auto Trait Implementations§
impl Freeze for bpf_object_open_opts
impl RefUnwindSafe for bpf_object_open_opts
impl !Send for bpf_object_open_opts
impl !Sync for bpf_object_open_opts
impl Unpin for bpf_object_open_opts
impl UnwindSafe for bpf_object_open_opts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)