trait Envs {
type Item;
type Iter: Iterator;
fn get_envs(&self) -> Self::Iter<Item=Self::Item>;
}
I am trying to implement the method that returns the environment variables but I couldn't figure out why the associated type is not allowed in the trait.