Trait xcm::WrapVersion [−][src]
pub trait WrapVersion {
fn wrap_version<Call>(
dest: &MultiLocation,
xcm: impl Into<VersionedXcm<Call>>
) -> Result<VersionedXcm<Call>, ()>;
}
Expand description
Convert an Xcm
datum into a VersionedXcm
, based on a destination MultiLocation
which will interpret it.
Required methods
fn wrap_version<Call>(
dest: &MultiLocation,
xcm: impl Into<VersionedXcm<Call>>
) -> Result<VersionedXcm<Call>, ()>
Implementations on Foreign Types
()
implementation does nothing with the XCM, just sending with whatever version it was authored as.