pub struct RuntimeImporter { /* private fields */ }Expand description
Pure runtime-snapshot importer with an explicit override-reconstruction policy.
This importer performs no inspection itself. Docker and Podman adapters must construct a
RuntimeSnapshot from effective native responses, use stable redacted source identities,
and supply complete observed collections explicitly. Runtime reconstruction always reports
application-level uncertainty because effective state cannot prove the original definition.
Implementations§
Source§impl RuntimeImporter
impl RuntimeImporter
Sourcepub fn new(
override_reconstruction: OverrideReconstruction,
) -> Result<Self, InvalidDiagnosticCode>
pub fn new( override_reconstruction: OverrideReconstruction, ) -> Result<Self, InvalidDiagnosticCode>
Creates an importer with an explicit override-reconstruction policy.
§Errors
Returns InvalidDiagnosticCode only when a code embedded in this adapter is invalid.
Sourcepub const fn override_reconstruction(&self) -> OverrideReconstruction
pub const fn override_reconstruction(&self) -> OverrideReconstruction
Returns the caller-selected override-reconstruction policy.
Sourcepub fn with_resolutions(self, resolutions: RuntimeResolutions) -> Self
pub fn with_resolutions(self, resolutions: RuntimeResolutions) -> Self
Applies finite caller-owned lifecycle resolutions during reconstruction.
Sourcepub const fn resolutions(&self) -> &RuntimeResolutions
pub const fn resolutions(&self) -> &RuntimeResolutions
Returns the exact caller-owned lifecycle resolutions used by this importer.
Trait Implementations§
Source§impl Clone for RuntimeImporter
impl Clone for RuntimeImporter
Source§fn clone(&self) -> RuntimeImporter
fn clone(&self) -> RuntimeImporter
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more