Trait xcm::IntoVersion

source ·
pub trait IntoVersion: Sized {
    fn into_version(self, version: Version) -> Result<Self, ()>;

    fn into_latest(self) -> Result<Self, ()> { ... }
}
Expand description

Attempt to convert self into a particular version of itself.

Required Methods§

Consume self and return same value expressed in some particular version of XCM.

Provided Methods§

Consume self and return same value expressed the latest version of XCM.

Implementors§