pub fn convert<I, E>(
importer: &I,
source: &I::Source,
exporter: &E,
target: &TargetProfile,
policy: LossPolicy,
) -> Result<ConversionResult<E::Output>, ConversionError>where
I: ImportAdapter,
E: ExportAdapter,Expand description
Runs the same explicit import-plan-authorize path used by the BoxFerry CLI.
ยง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.