Struct libbpf_sys::bpf_object_open_opts
source · [−]#[repr(C)]pub struct bpf_object_open_opts {
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 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_1: [u8; 4],
}Fields
sz: size_tobject_name: *const c_charrelaxed_maps: bool__bindgen_padding_0: [u8; 7]pin_root_path: *const c_charkconfig: *const c_charbtf_custom_path: *const c_charkernel_log_buf: *mut c_charkernel_log_size: size_tkernel_log_level: __u32__bindgen_padding_1: [u8; 4]Trait Implementations
sourceimpl Clone for bpf_object_open_opts
impl Clone for bpf_object_open_opts
sourcefn clone(&self) -> bpf_object_open_opts
fn clone(&self) -> bpf_object_open_opts
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_object_open_opts
impl Debug for bpf_object_open_opts
sourceimpl Default for bpf_object_open_opts
impl Default for bpf_object_open_opts
impl Copy for bpf_object_open_opts
Auto Trait Implementations
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
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