#[non_exhaustive]pub struct ExecReport {
pub machine: String,
pub exit: i32,
pub stdout: String,
pub stderr: String,
}Expand description
What a command run in a machine of the run said (Running::exec).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.machine: StringThe machine it ran in.
exit: i32Its exit status (-1 when it was killed by a signal).
stdout: StringIts standard output.
stderr: StringThe end of its standard error.
Trait Implementations§
Source§impl Clone for ExecReport
impl Clone for ExecReport
Source§impl Debug for ExecReport
impl Debug for ExecReport
impl Eq for ExecReport
Source§impl PartialEq for ExecReport
impl PartialEq for ExecReport
impl StructuralPartialEq for ExecReport
Auto Trait Implementations§
impl Forget for ExecReport
impl Freeze for ExecReport
impl Move for ExecReport
impl RefUnwindSafe for ExecReport
impl Send for ExecReportwhere
RawVecInner: Send,
impl Sync for ExecReportwhere
RawVecInner: Sync,
impl Unpin for ExecReport
impl UnsafeUnpin for ExecReport
impl UnwindSafe for ExecReportwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.