pub fn export_obj(
env: &Environment,
obj: &ObjectRef,
path: &[u8],
append_name: bool,
options: &Options<'_>,
sink: &mut dyn Sink,
meter: &Arc<Meter>,
report: &mut Report,
) -> Result<(), Error>Expand description
Export one object, appending its name when requested. Recoverable failures
are appended to report; report allocation failures return Err.