[−][src]Struct mapped_command::ReturnStderr
Returns a Vec<u8>
of the captured stderr if the process exits successfully.
Trait Implementations
impl Debug for ReturnStderr
[src]
impl OutputMapping for ReturnStderr
[src]
type Output = Vec<u8>
The output produced by this command, if it is run and doesn't fail.
type Error = CommandExecutionError
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 ReturnStderr
[src]
impl Send for ReturnStderr
[src]
impl Sync for ReturnStderr
[src]
impl Unpin for ReturnStderr
[src]
impl UnwindSafe for ReturnStderr
[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>,