referrerpolicy=no-referrer-when-downgrade
collectives_westend_integration_tests

Trait GetVersion

Source
pub trait GetVersion {
    // Required method
    fn get_version_for(dest: &Location) -> Option<u32>;
}
Expand description

Check and return the Version that should be used for the Xcm datum for the destination Location, which will interpret it.

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl<T> GetVersion for Pallet<T>
where T: Config,

Source§

impl<Version, RemoteBridge> GetVersion for XcmVersionOfDestAndRemoteBridge<Version, RemoteBridge>
where Version: GetVersion, RemoteBridge: Get<Location>,

Implementors§