[−][src]Struct checked_command::ExecResult
Type used for exec_replacement_callback
to return mocked output and exit status.
Fields
exit_status: ExitStatus
The exit status the process did exit with.
stdout: Option<Vec<u8>>
The stdout output captured during sub-process execution (if any).
This must be Some
if stdout
is expected to be captured, it must
be None
if it's expected to not be captured.
stderr: Option<Vec<u8>>
The stderr output captured during sub-process execution (if any).
This must be Some
if stderr
is expected to be captured, it must
be None
if it's expected to not be captured.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExecResult
[src]
impl Send for ExecResult
[src]
impl Sync for ExecResult
[src]
impl Unpin for ExecResult
[src]
impl UnwindSafe for ExecResult
[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>,