pub struct ExecutionResult {
pub success: bool,
pub detected: bool,
pub skipped: bool,
pub skip_reason: Option<String>,
pub port_checks: Vec<PortCheck>,
pub report: Report,
pub variables: HashMap<String, VariableValue>,
pub metadata: CheckMetadata,
}Expand description
The outcome of one Executor::run: whether a finding was produced, plus
the report, port-check details, and final variable state.
Fields§
§success: boolThe script ran to completion without an aborting error.
detected: boolTrue when finalize_finding() produced a finding (metadata + matchers passed).
skipped: boolCheck did not run because a required socket port was closed (see skip_reason).
skip_reason: Option<String>Human-readable reason the check was skipped, if skipped.
port_checks: Vec<PortCheck>Port probes performed before execution (empty for HTTP-only checks).
report: ReportThe findings report (empty unless detected).
variables: HashMap<String, VariableValue>Final value of every variable set during the run.
metadata: CheckMetadataThe check’s metadata, echoed for convenience.
Trait Implementations§
Source§impl Clone for ExecutionResult
impl Clone for ExecutionResult
Source§fn clone(&self) -> ExecutionResult
fn clone(&self) -> ExecutionResult
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 moreAuto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnsafeUnpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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