pub enum ExtractionError {
SourcePath,
Input(ArtifactError),
Tool(ToolError),
SourceInspection {
source: ArtifactError,
evidence: Box<CompletedExecution>,
},
SourceChanged {
before: ArtifactIdentity,
after: ArtifactIdentity,
evidence: Box<CompletedExecution>,
},
}Expand description
A Candid extraction failed, retaining process bytes where invocation occurred.
Variants§
SourcePath
The source path was relative; no tool was invoked.
Input(ArtifactError)
Source inspection failed before invocation.
Tool(ToolError)
Tool verification or execution failed; execution failures retain evidence.
SourceInspection
Source could not be re-inspected after successful execution.
Fields
§
source: ArtifactErrorInspection failure.
§
evidence: Box<CompletedExecution>Bounded successful process output.
SourceChanged
Source bytes changed between preflight and post-extraction observation.
Fields
§
before: ArtifactIdentityIdentity observed before invocation.
§
after: ArtifactIdentityIdentity observed after invocation.
§
evidence: Box<CompletedExecution>Bounded process output that must not be published as valid extraction.
Trait Implementations§
Source§impl Debug for ExtractionError
impl Debug for ExtractionError
Source§impl Display for ExtractionError
impl Display for ExtractionError
Source§impl Error for ExtractionError
impl Error for ExtractionError
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 ExtractionError
impl !UnwindSafe for ExtractionError
impl Freeze for ExtractionError
impl Send for ExtractionError
impl Sync for ExtractionError
impl Unpin for ExtractionError
impl UnsafeUnpin for ExtractionError
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