pub trait IntoRootModuleResult {
    type Module: RootModule;

    fn into_root_module_result(self) -> Result<Self::Module, RootModuleError>;
}
Expand description

For converting the return value of a #[export_root_module] function to a Result<_, RootModuleError>.

Required Associated Types

The module that is loaded in the success case.

Required Methods

Performs the conversion

Implementations on Foreign Types

Implementors