pub struct PackageCommandError {
pub execution: Option<ToolError>,
pub retention: Vec<Error>,
}Expand description
Command failure preserves execution separately from diagnostic-retention failures.
Fields§
§execution: Option<ToolError>Original process/capture failure, or None if only log retention failed.
retention: Vec<Error>Independent failures writing the retained stdout/stderr records.
Trait Implementations§
Source§impl Debug for PackageCommandError
impl Debug for PackageCommandError
Source§impl Display for PackageCommandError
impl Display for PackageCommandError
Source§impl Error for PackageCommandError
impl Error for PackageCommandError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for PackageCommandError
impl !UnwindSafe for PackageCommandError
impl Freeze for PackageCommandError
impl Send for PackageCommandError
impl Sync for PackageCommandError
impl Unpin for PackageCommandError
impl UnsafeUnpin for PackageCommandError
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