pub struct ReturnStdoutString;
Expand description
Returns the captured stdout as string, if the process succeeds.
Trait Implementations§
Source§impl Debug for ReturnStdoutString
impl Debug for ReturnStdoutString
Source§impl OutputMapping for ReturnStdoutString
impl OutputMapping for ReturnStdoutString
Source§type Error = CommandExecutionWithStringOutputError
type Error = CommandExecutionWithStringOutputError
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 ReturnStdoutString
impl RefUnwindSafe for ReturnStdoutString
impl Send for ReturnStdoutString
impl Sync for ReturnStdoutString
impl Unpin for ReturnStdoutString
impl UnwindSafe for ReturnStdoutString
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