pub trait Execution: AccountExecutor + ModuleIdentification {
// Provided method
fn executor<'a>(&'a self, deps: Deps<'a>) -> Executor<'a, Self> { ... }
}
Expand description
Execute an AccountAction
on the Account.
Provided Methods§
Sourcefn executor<'a>(&'a self, deps: Deps<'a>) -> Executor<'a, Self>
fn executor<'a>(&'a self, deps: Deps<'a>) -> Executor<'a, Self>
API for executing AccountAction
s on the Account.
Group your actions together in a single execute call if possible.
Executing CosmosMsg
on the account is possible by creating an AccountAction
.
§Example
use abstract_sdk::prelude::*;
let executor: Executor<MockModule> = module.executor(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.