pub struct CommandExecutedResult {
pub stdout: String,
pub stderr: String,
pub exit_status: u32,
}Fields§
§stdout: StringThe stdout output of the command.
stderr: StringThe stderr output of the command.
exit_status: u32The unix exit status ($? in bash).
Trait Implementations§
Source§impl Clone for CommandExecutedResult
impl Clone for CommandExecutedResult
Source§fn clone(&self) -> CommandExecutedResult
fn clone(&self) -> CommandExecutedResult
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 CommandExecutedResult
impl Debug for CommandExecutedResult
Source§impl Hash for CommandExecutedResult
impl Hash for CommandExecutedResult
Source§impl PartialEq for CommandExecutedResult
impl PartialEq for CommandExecutedResult
impl Eq for CommandExecutedResult
impl StructuralPartialEq for CommandExecutedResult
Auto Trait Implementations§
impl Freeze for CommandExecutedResult
impl RefUnwindSafe for CommandExecutedResult
impl Send for CommandExecutedResult
impl Sync for CommandExecutedResult
impl Unpin for CommandExecutedResult
impl UnwindSafe for CommandExecutedResult
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