pub trait CreateMatcher {
    type Matcher;

    // Required method
    fn matcher(self) -> Self::Matcher;
}
Expand description

Creates an instruction matcher from an XCM. Since XCM versions differ, we need to make a trait here to unify the interfaces among them.

Required Associated Types§

source

type Matcher

The concrete matcher type.

Required Methods§

source

fn matcher(self) -> Self::Matcher

Method that creates and returns the matcher type from Self.

Implementations on Foreign Types§

source§

impl<'a, Call> CreateMatcher for &'a mut [Instruction<Call>]

§

type Matcher = Matcher<'a, Call>

source§

fn matcher(self) -> Self::Matcher

Implementors§