Trait abi_stable::library::IntoRootModuleResult[][src]

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>.

Associated Types

The module that is loaded in the success case.

Required methods

Performs the conversion

Implementations on Foreign Types

Implementors