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.
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.