[][src]Macro sealrs::pat_matcher

macro_rules! pat_matcher {
    ($t:path => $pat:pat) => { ... };
}

Creates TestProbe matcher function which match specified message by match arm. Match arm must be specified without guards.

Examples

 type_matcher!(some_actor::SomeMsg => some_actor::SomeMsg { data: 100 });

// Message type => Match arm