pub struct ReturnStdoutAndErr;
Expand description
Returns a Vec<u8>
of the captured stderr and stdout if the process exits successfully.
Trait Implementations§
Source§impl Debug for ReturnStdoutAndErr
impl Debug for ReturnStdoutAndErr
Source§impl OutputMapping for ReturnStdoutAndErr
impl OutputMapping for ReturnStdoutAndErr
Source§type Output = CapturedStdoutAndErr
type Output = CapturedStdoutAndErr
The output produced by this command, if it is run and doesn’t fail.
Source§type Error = CommandExecutionError
type Error = CommandExecutionError
The error produced by this command, if it is run and does fail.
Source§fn capture_stdout(&self) -> bool
fn capture_stdout(&self) -> bool
Return if stdout needs to be captured for this output mapping
map_output
function. Read moreSource§fn capture_stderr(&self) -> bool
fn capture_stderr(&self) -> bool
Return if stderr needs to be captured for this output mapping
map_output
function. Read moreAuto Trait Implementations§
impl Freeze for ReturnStdoutAndErr
impl RefUnwindSafe for ReturnStdoutAndErr
impl Send for ReturnStdoutAndErr
impl Sync for ReturnStdoutAndErr
impl Unpin for ReturnStdoutAndErr
impl UnwindSafe for ReturnStdoutAndErr
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