common_primitives::node

Trait UtilityProvider

Source
pub trait UtilityProvider<Origin, RuntimeCall> {
    // Required method
    fn batch_all(
        origin: Origin,
        calls: Vec<RuntimeCall>,
    ) -> DispatchResultWithPostInfo;
}
Expand description

The provider for interfacing into the Utility pallet.

Required Methods§

Source

fn batch_all( origin: Origin, calls: Vec<RuntimeCall>, ) -> DispatchResultWithPostInfo

Passthrough into the Utility::batch_all call

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§