[−][src]Struct mapped_command::ReturnStderrString
Returns the captured stderr as string, if the process succeeds.
Trait Implementations
impl Debug for ReturnStderrString
[src]
impl OutputMapping for ReturnStderrString
[src]
type Output = String
The output produced by this command, if it is run and doesn't fail.
type Error = CommandExecutionWithStringOutputError
The error produced by this command, if it is run and does fail.
fn capture_stdout(&self) -> bool
[src]
fn capture_stderr(&self) -> bool
[src]
fn map_output(
self: Box<Self>,
_stdout: Option<Vec<u8>>,
stderr: Option<Vec<u8>>,
_exit_status: ExitStatus
) -> Result<Self::Output, Self::Error>
[src]
self: Box<Self>,
_stdout: Option<Vec<u8>>,
stderr: Option<Vec<u8>>,
_exit_status: ExitStatus
) -> Result<Self::Output, Self::Error>
Auto Trait Implementations
impl RefUnwindSafe for ReturnStderrString
[src]
impl Send for ReturnStderrString
[src]
impl Sync for ReturnStderrString
[src]
impl Unpin for ReturnStderrString
[src]
impl UnwindSafe for ReturnStderrString
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,