Function emf_core_base_rs::global::module::export_interface[][src]

pub fn export_interface<O>(
    module: &Module<'_, O>,
    interface: &InterfaceDescriptor
) -> Result<(), Error> where
    O: ImmutableAccessIdentifier

Exports an interface of a module.

Failure

Fails if module is invalid, interface is already exported, interface is not contained in the module or the module is not yet initialized.

Return

Error on failure.