pub struct RunOutput {
pub exit_code: i32,
pub output: String,
}Expand description
Result of a completed run or Session::wait_captured.
Fields§
§exit_code: i32§output: StringCaptured guest output (combined stdout+stderr) when the session ran with
Config::capture_output; empty otherwise
(the interactive run path streams to the terminal). Bounded — truncated
past 1 MiB with a marker.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunOutput
impl RefUnwindSafe for RunOutput
impl Send for RunOutput
impl Sync for RunOutput
impl Unpin for RunOutput
impl UnsafeUnpin for RunOutput
impl UnwindSafe for RunOutput
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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