#[repr(C)]pub struct bpf_prog_test_run_attr {Show 16 fields
pub prog_fd: c_int,
pub repeat: c_int,
pub data_in: *const c_void,
pub data_size_in: __u32,
pub __bindgen_padding_0: [u8; 4],
pub data_out: *mut c_void,
pub data_size_out: __u32,
pub retval: __u32,
pub duration: __u32,
pub __bindgen_padding_1: [u8; 4],
pub ctx_in: *const c_void,
pub ctx_size_in: __u32,
pub __bindgen_padding_2: [u8; 4],
pub ctx_out: *mut c_void,
pub ctx_size_out: __u32,
pub __bindgen_padding_3: [u8; 4],
}
Fields§
§prog_fd: c_int
§repeat: c_int
§data_in: *const c_void
§data_size_in: __u32
§__bindgen_padding_0: [u8; 4]
§data_out: *mut c_void
§data_size_out: __u32
§retval: __u32
§duration: __u32
§__bindgen_padding_1: [u8; 4]
§ctx_in: *const c_void
§ctx_size_in: __u32
§__bindgen_padding_2: [u8; 4]
§ctx_out: *mut c_void
§ctx_size_out: __u32
§__bindgen_padding_3: [u8; 4]
Trait Implementations§
Source§impl Clone for bpf_prog_test_run_attr
impl Clone for bpf_prog_test_run_attr
Source§fn clone(&self) -> bpf_prog_test_run_attr
fn clone(&self) -> bpf_prog_test_run_attr
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_prog_test_run_attr
impl Debug for bpf_prog_test_run_attr
Source§impl Default for bpf_prog_test_run_attr
impl Default for bpf_prog_test_run_attr
impl Copy for bpf_prog_test_run_attr
Auto Trait Implementations§
impl Freeze for bpf_prog_test_run_attr
impl RefUnwindSafe for bpf_prog_test_run_attr
impl !Send for bpf_prog_test_run_attr
impl !Sync for bpf_prog_test_run_attr
impl Unpin for bpf_prog_test_run_attr
impl UnwindSafe for bpf_prog_test_run_attr
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
)