pub struct SpawnOutput {
pub status: ExitStatus,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub timed_out: bool,
pub stdout_truncated: bool,
pub stderr_truncated: bool,
}Expand description
What a spawn produced.
Fields§
§status: ExitStatus§stdout: Vec<u8>§stderr: Vec<u8>§timed_out: boolThe child exceeded the policy’s timeout and was killed. status then
reflects the kill, not the child’s own exit.
stdout_truncated: bool§stderr_truncated: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpawnOutput
impl RefUnwindSafe for SpawnOutput
impl Send for SpawnOutput
impl Sync for SpawnOutput
impl Unpin for SpawnOutput
impl UnsafeUnpin for SpawnOutput
impl UnwindSafe for SpawnOutput
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