pub struct ShellCaptureResult {
pub output: String,
pub truncation: TruncationResult,
pub full_output_path: Option<PathBuf>,
pub last_line_bytes: usize,
pub exit_code: Option<i32>,
pub cancelled: bool,
pub truncated: bool,
pub execution_error: Option<ExecutionError>,
}Expand description
Mirrors ShellCaptureResult.
Fields§
§output: String§truncation: TruncationResult§full_output_path: Option<PathBuf>§last_line_bytes: usize§exit_code: Option<i32>§cancelled: bool§truncated: bool§execution_error: Option<ExecutionError>Trait Implementations§
Source§impl Clone for ShellCaptureResult
impl Clone for ShellCaptureResult
Source§fn clone(&self) -> ShellCaptureResult
fn clone(&self) -> ShellCaptureResult
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 ShellCaptureResult
impl RefUnwindSafe for ShellCaptureResult
impl Send for ShellCaptureResult
impl Sync for ShellCaptureResult
impl Unpin for ShellCaptureResult
impl UnsafeUnpin for ShellCaptureResult
impl UnwindSafe for ShellCaptureResult
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