[][src]Module resultit::stop_after_error

Iterator adapter to stop iteration after the first error is encountered. See documentation for StopAfterError for details.

Structs

StopAfterErrorIter

Iterator returned by stop_after_error(). You should not need to use this directly. See the documentation for StopAfterError for intended use.

Traits

StopAfterError

Iterator adapter to stop iteration after the first error is encountered. Lazily yields each item in the iterator up to and including the first error. Subsequent calls to Iterator::next() return None. Use this trait to enable the stop_after_error() function for iterators.