pub struct IngestRunner { /* private fields */ }Expand description
Consumes a normalized report and yields the same values any other backend would.
The report bytes are held verbatim rather than pre-parsed, because the run’s
report_digest must be the digest of exactly what arrived — the tie between
the stored findings and the file they came from.
Implementations§
Trait Implementations§
Source§impl AnalyzerRunner for IngestRunner
impl AnalyzerRunner for IngestRunner
Source§fn kind(&self) -> RunnerKind
fn kind(&self) -> RunnerKind
Which backend this is — recorded on every run it produces.
Source§fn isolation(&self) -> Isolation
fn isolation(&self) -> Isolation
The isolation boundary this backend actually provides. Recorded honestly:
a backend with no boundary reports
Isolation::None, never something
stronger.Source§fn run(&self, request: &AnalysisRequest) -> Result<AnalysisResponse, ExecError>
fn run(&self, request: &AnalysisRequest) -> Result<AnalysisResponse, ExecError>
Execute the request. Read more
Source§impl Clone for IngestRunner
impl Clone for IngestRunner
Source§fn clone(&self) -> IngestRunner
fn clone(&self) -> IngestRunner
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 IngestRunner
impl RefUnwindSafe for IngestRunner
impl Send for IngestRunner
impl Sync for IngestRunner
impl Unpin for IngestRunner
impl UnsafeUnpin for IngestRunner
impl UnwindSafe for IngestRunner
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