pub struct ShellRun {
pub output: String,
pub status: ExitStatus,
}Expand description
What a command printed and how it ended.
Fields§
§output: StringIts output, stdout and stderr interleaved line by line in the order
the lines came, as the OutputLimit keeps it, ending in a line
saying how it ended.
status: ExitStatusHow it ended.
Trait Implementations§
impl Eq for ShellRun
impl StructuralPartialEq for ShellRun
Auto Trait Implementations§
impl Freeze for ShellRun
impl RefUnwindSafe for ShellRun
impl Send for ShellRun
impl Sync for ShellRun
impl Unpin for ShellRun
impl UnsafeUnpin for ShellRun
impl UnwindSafe for ShellRun
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.