Trait polars::export::arrow::io::parquet::read::fallible_streaming_iterator::DoubleEndedFallibleStreamingIterator
source · [−]pub trait DoubleEndedFallibleStreamingIterator: FallibleStreamingIterator {
fn advance_back(&mut self) -> Result<(), Self::Error>;
fn next_back(&mut self) -> Result<Option<&Self::Item>, Self::Error> { ... }
}This is supported on crate feature
io_parquet only.Expand description
A fallible, streaming iterator which can be advanced from either end.
Required methods
fn advance_back(&mut self) -> Result<(), Self::Error>
fn advance_back(&mut self) -> Result<(), Self::Error>
Advances the state of the iterator to the next item from the end.
Iterators start just after the last item, so this method should be called before get
when iterating.
The behavior of calling this method after get has returned None, or after this method
or advance has returned an error is unspecified.