#[repr(C)]pub struct bpf_test_run_opts {Show 15 fields
pub sz: size_t,
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: size_t
§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§
Source§impl Clone for bpf_test_run_opts
impl Clone for bpf_test_run_opts
Source§fn clone(&self) -> bpf_test_run_opts
fn clone(&self) -> bpf_test_run_opts
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for bpf_test_run_opts
impl Debug for bpf_test_run_opts
Source§impl Default for bpf_test_run_opts
impl Default for bpf_test_run_opts
impl Copy for bpf_test_run_opts
Auto Trait Implementations§
impl Freeze for bpf_test_run_opts
impl RefUnwindSafe for bpf_test_run_opts
impl !Send for bpf_test_run_opts
impl !Sync for bpf_test_run_opts
impl Unpin for bpf_test_run_opts
impl UnwindSafe for bpf_test_run_opts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)