pub trait MatchFn<S, Request, A>: Sealed<S, Request, A> + Send + Sync + 'static { }
A MatchFn is a Matcher implemented using a function.
MatchFn
Matcher
You do not need to implement this trait yourself. Instead, you need to use the match_fn function to create a MatchFn.
match_fn