pub struct ShellResult {
pub exit_code: i32,
pub stdout: String,
pub stderr: String,
}Expand description
Result of executing a recipe through a shell.
Fields§
§exit_code: i32Exit code. 0 = success.
stdout: StringCaptured stdout.
stderr: StringCaptured stderr.
Trait Implementations§
Source§impl Clone for ShellResult
impl Clone for ShellResult
Source§fn clone(&self) -> ShellResult
fn clone(&self) -> ShellResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellResult
impl Debug for ShellResult
impl Eq for ShellResult
Source§impl PartialEq for ShellResult
impl PartialEq for ShellResult
Source§fn eq(&self, other: &ShellResult) -> bool
fn eq(&self, other: &ShellResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShellResult
Auto Trait Implementations§
impl Freeze for ShellResult
impl RefUnwindSafe for ShellResult
impl Send for ShellResult
impl Sync for ShellResult
impl Unpin for ShellResult
impl UnsafeUnpin for ShellResult
impl UnwindSafe for ShellResult
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