pub trait Errors { // Required method fn errors(&self) -> Box<dyn Iterator<Item = Box<&dyn Error>> + '_>; }
This trait enables collections of results or responses to filter just for their errors.