#[repr(C)]
pub struct bpf_test_run_opts {
Show 15 fields pub sz: usize, pub data_in: *const c_void, pub data_out: *mut c_void, pub data_size_in: __u32, pub data_size_out: __u32, pub ctx_in: *const c_void, pub ctx_out: *mut c_void, pub ctx_size_in: __u32, pub ctx_size_out: __u32, pub retval: __u32, pub repeat: c_int, pub duration: __u32, pub flags: __u32, pub cpu: __u32, pub batch_size: __u32,
}

Fields§

§sz: usize§data_in: *const c_void§data_out: *mut c_void§data_size_in: __u32§data_size_out: __u32§ctx_in: *const c_void§ctx_out: *mut c_void§ctx_size_in: __u32§ctx_size_out: __u32§retval: __u32§repeat: c_int§duration: __u32§flags: __u32§cpu: __u32§batch_size: __u32

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.