Trait abstract_interface::DependencyCreation

source ·
pub trait DependencyCreation {
    type DependenciesConfig;

    // Provided method
    fn dependency_install_configs(
        configuration: Self::DependenciesConfig
    ) -> Result<Vec<ModuleInstallConfig>, AbstractInterfaceError> { ... }
}
Expand description

Trait to access module dependency information tied directly to the type.

Required Associated Types§

source

type DependenciesConfig

Type that exposes the dependencies’s configurations if that’s required.

Provided Methods§

source

fn dependency_install_configs( configuration: Self::DependenciesConfig ) -> Result<Vec<ModuleInstallConfig>, AbstractInterfaceError>

Function that returns the ModuleInstallConfig for each dependent module.

Object Safety§

This trait is not object safe.

Implementors§