#[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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.