pub struct BufferedInputBlockIterator<'a, 'r, R, IR, const N: usize> { /* private fields */ }
Expand description
Iterator over a BufferedInput
.
Trait Implementations§
Source§impl<'a, R: Read, IR, const N: usize> InputBlockIterator<'a, N> for BufferedInputBlockIterator<'a, '_, R, IR, N>where
IR: InputRecorder<BufferedInputBlock<N>>,
impl<'a, R: Read, IR, const N: usize> InputBlockIterator<'a, N> for BufferedInputBlockIterator<'a, '_, R, IR, N>where
IR: InputRecorder<BufferedInputBlock<N>>,
Source§type Block = BufferedInputBlock<N>
type Block = BufferedInputBlock<N>
The type of blocks returned.
Source§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