pub struct SandboxOutput {
pub stdout: String,
pub stderr: String,
pub exit_code: i32,
pub duration: Duration,
pub killed: bool,
pub kill_reason: Option<String>,
}Expand description
Output from sandboxed execution.
Fields§
§stdout: StringStandard output.
stderr: StringStandard error.
exit_code: i32Exit code.
duration: DurationExecution duration.
killed: boolWhether killed by resource limit.
kill_reason: Option<String>Kill reason if killed.
Trait Implementations§
Source§impl Clone for SandboxOutput
impl Clone for SandboxOutput
Source§fn clone(&self) -> SandboxOutput
fn clone(&self) -> SandboxOutput
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SandboxOutput
impl RefUnwindSafe for SandboxOutput
impl Send for SandboxOutput
impl Sync for SandboxOutput
impl Unpin for SandboxOutput
impl UnwindSafe for SandboxOutput
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