pub struct ReturnStdout;
Expand description
Returns a Vec<u8>
of the captured stdout if the process exits successfully.
Trait Implementations§
Source§impl Debug for ReturnStdout
impl Debug for ReturnStdout
Source§impl OutputMapping for ReturnStdout
impl OutputMapping for ReturnStdout
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 ReturnStdout
impl RefUnwindSafe for ReturnStdout
impl Send for ReturnStdout
impl Sync for ReturnStdout
impl Unpin for ReturnStdout
impl UnwindSafe for ReturnStdout
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