Structs§

  • A wrapper around existing iterator, will prevent users from calling next when the iterator is invalid. If an iterator is already invalid, next does not do anything. If next returns an error, is_valid should return false, and next should always return an error.