pub trait GetErrors<T, E>: Sized { fn errors(self) -> FilterMap<Self, fn(_: Result<T, E>) -> Option<E>>; }
Extension trait for Iterator<Item = Result<T, E>> to get all Es
Iterator<Item = Result<T, E>>
E