pub struct ShellExecOutput {
pub status: ExitStatus,
pub stdout: Buffer,
pub stderr: Buffer,
}
Expand description
The output of a finished process.
Fields§
§status: ExitStatus
The exit code and termination signal of the process.
stdout: Buffer
The buffer that the process wrote to stdout.
stderr: Buffer
The buffer that the process wrote to stderr.
Trait Implementations§
Source§impl Clone for ShellExecOutput
impl Clone for ShellExecOutput
Source§fn clone(&self) -> ShellExecOutput
fn clone(&self) -> ShellExecOutput
Returns a copy 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 ShellExecOutput
impl Debug for ShellExecOutput
Source§impl<'de> Deserialize<'de> for ShellExecOutput
impl<'de> Deserialize<'de> for ShellExecOutput
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
Source§impl PartialEq for ShellExecOutput
impl PartialEq for ShellExecOutput
Source§impl Serialize for ShellExecOutput
impl Serialize for ShellExecOutput
impl Eq for ShellExecOutput
impl StructuralPartialEq for ShellExecOutput
Auto Trait Implementations§
impl Freeze for ShellExecOutput
impl RefUnwindSafe for ShellExecOutput
impl Send for ShellExecOutput
impl Sync for ShellExecOutput
impl Unpin for ShellExecOutput
impl UnwindSafe for ShellExecOutput
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