Trait abstract_interface::InstallConfig
source · pub trait InstallConfig: RegisteredModule {
// Provided methods
fn module_info() -> Result<ModuleInfo, AbstractInterfaceError> { ... }
fn install_config(
init_msg: &Self::InitMsg
) -> Result<ModuleInstallConfig, AbstractInterfaceError> { ... }
}Expand description
Trait to make it easier to construct ModuleInfo and ModuleInstallConfig for a
RegisteredModule.
Provided Methods§
sourcefn module_info() -> Result<ModuleInfo, AbstractInterfaceError>
fn module_info() -> Result<ModuleInfo, AbstractInterfaceError>
Constructs the ModuleInfo by using information from RegisteredModule.
sourcefn install_config(
init_msg: &Self::InitMsg
) -> Result<ModuleInstallConfig, AbstractInterfaceError>
fn install_config( init_msg: &Self::InitMsg ) -> Result<ModuleInstallConfig, AbstractInterfaceError>
Constructs the ModuleInstallConfig for an App Interface
Object Safety§
This trait is not object safe.