pub struct BinaryResult {
pub stdout: Vec<u8>,
pub stderr: String,
pub exit_code: i32,
}Expand description
Like RawResult, but stdout is left as bytes.
Fields§
§stdout: Vec<u8>§stderr: String§exit_code: i32Trait Implementations§
Source§impl Clone for BinaryResult
impl Clone for BinaryResult
Source§fn clone(&self) -> BinaryResult
fn clone(&self) -> BinaryResult
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 moreAuto Trait Implementations§
impl Freeze for BinaryResult
impl RefUnwindSafe for BinaryResult
impl Send for BinaryResult
impl Sync for BinaryResult
impl Unpin for BinaryResult
impl UnsafeUnpin for BinaryResult
impl UnwindSafe for BinaryResult
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