pub struct StepOutput {
pub success: bool,
pub code: Option<i32>,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}Expand description
Roughly analogous to process::Output mixed with process::ExitStatus. Since process::ExitStatus is sealed, we can’t instantiate it directly. With our own struct, Builtins can use it as well
Fields§
§success: bool§code: Option<i32>§stdout: Vec<u8>§stderr: Vec<u8>Trait Implementations§
Source§impl Debug for StepOutput
impl Debug for StepOutput
Source§impl From<Output> for StepOutput
impl From<Output> for StepOutput
Source§fn from(output: Output) -> StepOutput
fn from(output: Output) -> StepOutput
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StepOutput
impl RefUnwindSafe for StepOutput
impl Send for StepOutput
impl Sync for StepOutput
impl Unpin for StepOutput
impl UnwindSafe for StepOutput
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