Function pallet_utility::pallet::dispatchables::dispatch_as
source · pub fn dispatch_as<T: Config>(
as_origin: Box<T::PalletsOrigin>,
call: Box<<T as Config>::RuntimeCall>,
)
Expand description
Dispatches a function call with a provided origin.
The dispatch origin for this call must be Root.
§Complexity
- O(1).
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::dispatch_as
.