pub(crate) fn next_raw(&mut self) -> Option<Result<Option<T>, InvocationError>> {
        if self.limit_reached() || (self.buffer.is_empty() && self.last_chunk) {
            Some(Ok(None))
        } else {
            self.pop_item().map(|item| Ok(Some(item)))
        }
    }
/// Return the next result item from the buffer unless more data needs to be fetched.
///
/// Data does not need to be fetched if the limit is reached or the buffer is empty and the
/// last chunk was reached.
Return the next result item from the buffer unless more data needs to be fetched.
Data does not need to be fetched if the limit is reached or the buffer is empty and the
last chunk was reached.
Return the next result item from the buffer unless more data needs to be fetched . Data does not need to be fetched if the limit is reached or the buffer is empty and the last chunk was reached .
pub(crate) fn next_raw(&mut self) -> Option<Result<Option<T>, InvocationError>> {
        if self.limit_reached() || (self.buffer.is_empty() && self.last_chunk) {
            Some(Ok(None))
        } else {
            self.pop_item().map(|item| Ok(Some(item)))
        }
    }
pub ( crate ) fn next_raw ( & mut self ) -> Option < Result < Option < T > , InvocationError > > { if self . limit_reached ( ) || ( self . buffer . is_empty ( ) && self . last_chunk ) { Some ( Ok ( None ) ) } else { self . pop_item ( ) . map ( | item | Ok ( Some ( item ) ) ) } }
Return the next result item from the buffer unless more data needs to be fetched.
Return the next result item from the buffer unless more data needs to be fetched .
&mut self
&mut self