#include <isolated_scanner.hpp>
Public Attributes | |
| ScanStatus | status = ScanStatus::Crash |
| std::optional< PluginInfo > | descriptor |
| The first descriptor, populated only when status == Ok. | |
| std::vector< PluginInfo > | descriptors |
| Every descriptor the worker emitted, in bundle order, populated only when status == Ok. | |
| int | exit_code = -1 |
| Worker exit status (raw OS exit code, or -1 if it never started / was signal-killed). | |
| std::string | error_message |
| Human-readable error explanation (stderr tail, "timeout", or "worker not found"). | |
| std::optional<PluginInfo> pulp::host::ScanResult::descriptor |
The first descriptor, populated only when status == Ok.
Kept for callers that key the bundle by one identity (blacklist, cache).
| std::vector<PluginInfo> pulp::host::ScanResult::descriptors |
Every descriptor the worker emitted, in bundle order, populated only when status == Ok.
A CLAP factory can list several plugins per bundle; this is what the directory scanner consumes so an isolated scan enumerates the same set an in-process scan would.
| std::string pulp::host::ScanResult::error_message |
Human-readable error explanation (stderr tail, "timeout", or "worker not found").
Stored verbatim so the parent can write it straight into ScanBlacklist::blacklist(..., reason).
| int pulp::host::ScanResult::exit_code = -1 |
Worker exit status (raw OS exit code, or -1 if it never started / was signal-killed).
Useful for diagnostics in the result log.
| ScanStatus pulp::host::ScanResult::status = ScanStatus::Crash |