pub trait InspectMessageQueues {
// Required methods
fn clear_messages();
fn get_messages() -> Vec<(VersionedLocation, Vec<VersionedXcm<()>>)>;
}
Expand description
Inspects messages in queues. Meant to be used in runtime APIs, not in runtimes.
Required Methods§
sourcefn clear_messages()
fn clear_messages()
Clear the queues at the beginning of Runtime API call, so that subsequent
Self::get_messages()
will return only messages generated by said Runtime API.
sourcefn get_messages() -> Vec<(VersionedLocation, Vec<VersionedXcm<()>>)>
fn get_messages() -> Vec<(VersionedLocation, Vec<VersionedXcm<()>>)>
Get queued messages and their destinations.
Object Safety§
This trait is not object safe.