Returns an iterator over the errors in the stream, consuming the stream.
(&mut self)
| 162 | |
| 163 | /// Returns an iterator over the errors in the stream, consuming the stream. |
| 164 | pub fn drain(&mut self) -> impl Iterator<Item = E> + '_ { |
| 165 | self.0.drain(..) |
| 166 | } |
| 167 | |
| 168 | /// Push an error onto the stream. |
| 169 | pub fn push(&mut self, error: E) { |
no outgoing calls
no test coverage detected