pub struct RunOutput {
pub stdout: Vec<u8>,
pub stderr: String,
}Expand description
Captured output from a successful command.
Stdout is stored as raw bytes to support binary content. Use
stdout_lossy() for text.
Fields§
§stdout: Vec<u8>§stderr: StringImplementations§
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§
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