pub struct NativeTranslation {
pub runtime: RuntimeConfig,
pub issues: Vec<CompatIssue>,
}Expand description
Native translation result for service/listener mode.
Semantic translation produces this typed result; TOML rendering
(translate_from_uris / TranslationOutput.toml) is a presentation of the
same intermediates for --dump-config / migration / debugging.
Fields§
§runtime: RuntimeConfigCompiled runtime configuration ready for embed/runtime startup.
issues: Vec<CompatIssue>Canonical typed findings, identical to the TOML-render path.
Implementations§
Source§impl NativeTranslation
Direct native compilation for listener/service mode without TOML string.
impl NativeTranslation
Direct native compilation for listener/service mode without TOML string.
Builds the same intermediates as translate_from_uris via the shared
build_intermediates builder, converts them to ConfigFile via direct
struct mapping (no toml::to_string / toml::from_str round trip), then
validates and compiles to RuntimeConfig. Returns warnings/unsupported
identical to the TOML path.
Sourcepub fn has_unsupported(&self) -> bool
pub fn has_unsupported(&self) -> bool
Whether translation has no blockers.
Sourcepub fn warnings(&self) -> Vec<CompatWarning>
pub fn warnings(&self) -> Vec<CompatWarning>
Legacy warning view: all Warning-severity issues, in order.
Sourcepub fn unsupported(&self) -> Vec<UnsupportedFeature>
pub fn unsupported(&self) -> Vec<UnsupportedFeature>
Legacy unsupported view: all Unsupported-severity issues, in order.
Trait Implementations§
Source§impl Clone for NativeTranslation
impl Clone for NativeTranslation
Source§fn clone(&self) -> NativeTranslation
fn clone(&self) -> NativeTranslation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more