pub struct ShellOutput {
pub exit_code: i32,
pub stdout: String,
pub stderr: String,
}Expand description
Result of a shell invocation.
Fields§
§exit_code: i32§stdout: String§stderr: StringTrait Implementations§
Source§impl Clone for ShellOutput
impl Clone for ShellOutput
Source§fn clone(&self) -> ShellOutput
fn clone(&self) -> ShellOutput
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 ShellOutput
impl Debug for ShellOutput
Source§impl PartialEq for ShellOutput
impl PartialEq for ShellOutput
Source§fn eq(&self, other: &ShellOutput) -> bool
fn eq(&self, other: &ShellOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ShellOutput
impl StructuralPartialEq for ShellOutput
Auto Trait Implementations§
impl Freeze for ShellOutput
impl RefUnwindSafe for ShellOutput
impl Send for ShellOutput
impl Sync for ShellOutput
impl Unpin for ShellOutput
impl UnsafeUnpin for ShellOutput
impl UnwindSafe for ShellOutput
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