#[repr(C)]
pub struct bpf_object_open_opts {
Show 14 fields pub sz: usize, 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: usize, pub kernel_log_level: __u32, pub __bindgen_padding_2: [u8; 4],
}

Fields§

§sz: usize§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: usize§kernel_log_level: __u32§__bindgen_padding_2: [u8; 4]

Implementations§

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.