pub struct ExecOutput {
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub exit_code: i32,
}Expand description
Output from an executed command.
Fields§
§stdout: Vec<u8>Captured stdout bytes.
stderr: Vec<u8>Captured stderr bytes.
exit_code: i32Process exit code.
Trait Implementations§
Source§impl Clone for ExecOutput
impl Clone for ExecOutput
Source§fn clone(&self) -> ExecOutput
fn clone(&self) -> ExecOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecOutput
impl Debug for ExecOutput
Source§impl<'de> Deserialize<'de> for ExecOutput
impl<'de> Deserialize<'de> for ExecOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecOutput
impl RefUnwindSafe for ExecOutput
impl Send for ExecOutput
impl Sync for ExecOutput
impl Unpin for ExecOutput
impl UnsafeUnpin for ExecOutput
impl UnwindSafe for ExecOutput
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