#[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_tobject_name: *const c_charrelaxed_maps: boolrelaxed_core_relocs: bool__bindgen_padding_0: [u8; 6]pin_root_path: *const c_charattach_prog_fd: __u32__bindgen_padding_1: [u8; 4]kconfig: *const c_charbtf_custom_path: *const c_charkernel_log_buf: *mut c_charkernel_log_size: size_tkernel_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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more