Returns an iterator over the errors in the stream.
(&self)
| 152 | |
| 153 | /// Returns an iterator over the errors in the stream. |
| 154 | pub fn iter(&self) -> impl Iterator<Item = &E> { |
| 155 | self.0.iter() |
| 156 | } |
| 157 | |
| 158 | /// Returns a mutable iterator over the errors in the stream. |
| 159 | pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut E> { |