Trait AdapterInterface

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

Interact with other modules on the Account.

Provided Methods§

Source

fn adapters<'a>(&'a self, deps: Deps<'a>) -> Adapters<'a, Self>

API for accessing Abstract Adapters installed on the account.

§Example
use abstract_sdk::prelude::*;

let adapters: Adapters<MockModule>  = module.adapters(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§