pub struct RunResult {
pub wall_ms: u64,
pub exit_code: i32,
pub timed_out: bool,
pub cpu_ms: Option<u64>,
pub page_faults: Option<u64>,
pub ctx_switches: Option<u64>,
pub max_rss_kb: Option<u64>,
pub binary_bytes: Option<u64>,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}Fields§
§wall_ms: u64§exit_code: i32§timed_out: bool§cpu_ms: Option<u64>CPU time (user + system) in milliseconds. Collected on Unix via rusage and best-effort on Windows.
page_faults: Option<u64>Major page faults (Unix only).
ctx_switches: Option<u64>Voluntary + involuntary context switches (Unix only).
max_rss_kb: Option<u64>Peak resident set size in KB. Collected on Unix via rusage and best-effort on Windows.
binary_bytes: Option<u64>Size of executed binary in bytes (best-effort).
stdout: Vec<u8>§stderr: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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