Struct libbpf_sys::bpf_object_open_opts
source · [−]#[repr(C)]pub struct bpf_object_open_opts {Show 14 fields
pub sz: size_t,
pub object_name: *const c_char,
pub relaxed_maps: bool,
pub relaxed_core_relocs: bool,
pub __bindgen_padding_0: [u8; 6],
pub pin_root_path: *const c_char,
pub attach_prog_fd: __u32,
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],
}
Fields
sz: size_t
object_name: *const c_char
relaxed_maps: bool
relaxed_core_relocs: bool
__bindgen_padding_0: [u8; 6]
pin_root_path: *const c_char
attach_prog_fd: __u32
__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]
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