pub struct ShellResult {
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub exit_code: u32,
}
Expand description
A simple struct which contains the stdout, stderr and exit code of a completed remote command.
Fields§
§stdout: Vec<u8>
§stderr: Vec<u8>
§exit_code: u32
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 · 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
Source§impl PartialEq for ShellResult
impl PartialEq for ShellResult
impl Eq for ShellResult
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 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