pub trait EncodingFn<'a> { type Iter: Iterator<Item = &'a str>; // Required method fn call(&self, arg: &'a str) -> Self::Iter; }