pub struct TestRunResult {
pub return_value: u32,
pub duration: Duration,
pub data_size_out: u32,
pub ctx_size_out: u32,
}Expand description
Result of running a BPF program test.
Fields§
§return_value: u32Return value from the program.
duration: DurationDuration of the test run.
data_size_out: u32Size of data written to data_out.
ctx_size_out: u32Size of context written to ctx_out.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestRunResult
impl RefUnwindSafe for TestRunResult
impl Send for TestRunResult
impl Sync for TestRunResult
impl Unpin for TestRunResult
impl UnsafeUnpin for TestRunResult
impl UnwindSafe for TestRunResult
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