Struct rsonpath::input::buffered::BufferedInputBlockIterator
source · pub struct BufferedInputBlockIterator<'a, 'r, R, IR, const N: usize> { /* private fields */ }
Expand description
Iterator over a BufferedInput
.
Trait Implementations§
source§impl<'a, 'r, R: Read, IR, const N: usize> InputBlockIterator<'a, N> for BufferedInputBlockIterator<'a, 'r, R, IR, N>where
IR: InputRecorder<BufferedInputBlock<N>>,
impl<'a, 'r, R: Read, IR, const N: usize> InputBlockIterator<'a, N> for BufferedInputBlockIterator<'a, 'r, R, IR, N>where
IR: InputRecorder<BufferedInputBlock<N>>,
§type Block = BufferedInputBlock<N>
type Block = BufferedInputBlock<N>
The type of blocks returned.
§type Error = InputError
type Error = InputError
Type of errors that can occur when reading from this iterator.
source§fn next(&mut self) -> Result<Option<Self::Block>, Self::Error>
fn next(&mut self) -> Result<Option<Self::Block>, Self::Error>
Advances the iterator and returns the next value. Read more
source§fn offset(&mut self, count: isize)
fn offset(&mut self, count: isize)
Offset the iterator by
count
full blocks forward. Read moresource§fn get_offset(&self) -> usize
fn get_offset(&self) -> usize
Get the offset of the iterator in the input. Read more
Auto Trait Implementations§
impl<'a, 'r, R, IR, const N: usize> Freeze for BufferedInputBlockIterator<'a, 'r, R, IR, N>
impl<'a, 'r, R, IR, const N: usize> !RefUnwindSafe for BufferedInputBlockIterator<'a, 'r, R, IR, N>
impl<'a, 'r, R, IR, const N: usize> !Send for BufferedInputBlockIterator<'a, 'r, R, IR, N>
impl<'a, 'r, R, IR, const N: usize> !Sync for BufferedInputBlockIterator<'a, 'r, R, IR, N>
impl<'a, 'r, R, IR, const N: usize> Unpin for BufferedInputBlockIterator<'a, 'r, R, IR, N>
impl<'a, 'r, R, IR, const N: usize> !UnwindSafe for BufferedInputBlockIterator<'a, 'r, R, IR, N>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more