Skip to main content

convert_imported

Function convert_imported 

Source
pub fn convert_imported<E>(
    import: ImportResult,
    exporter: &E,
    target: &TargetProfile,
    policy: LossPolicy,
) -> Result<ConversionResult<E::Output>, ConversionError>
where E: ExportAdapter,
Expand description

Continues conversion from one completed native-to-neutral import.

This boundary lets orchestration select importers and exporters as independent dimensions while retaining the same validation, combined fidelity plan, and policy authorization used by convert.

ยงErrors

Returns ConversionError::Import when import has no usable application or contains an error diagnostic, and ConversionError::InvalidPlan when the export adapter violates plan invariants.