Struct gekko::runtime::kusama::extrinsics::xcm_pallet::Execute [−][src]
pub struct Execute<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub message: A,
pub max_weight: B,
}
Expand description
Execute an XCM message from a local, signed, origin.
Documentation (provided by the runtime metadata)
Execute an XCM message from a local, signed, origin.
An event is deposited indicating whether msg
could be executed completely or only
partially.
No more than max_weight
will be used in its attempted execution. If this is less than the
maximum amount of weight that the message could take to be executed, then no execution
attempt will be made.
NOTE: A successful return to this does not imply that the msg
was executed successfully
to completion; only that some of it was executed.
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
message: A
Type description: Box<Xcm<T::Call>>
max_weight: B
Type description: Weight
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Execute<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Execute<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.