Trait ModuleInterface

Source
pub trait ModuleInterface:
    AccountIdentification
    + Dependencies
    + ModuleIdentification {
    // Provided method
    fn modules<'a>(&'a self, deps: Deps<'a>) -> Modules<'a, Self> { ... }
}
Expand description

Interact with other modules on the Account.

Provided Methods§

Source

fn modules<'a>(&'a self, deps: Deps<'a>) -> Modules<'a, Self>

API for retrieving information about installed modules.

§Example
use abstract_sdk::prelude::*;

let modules: Modules<MockModule>  = module.modules(deps.as_ref());

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§