pub struct Iter<'a>(/* private fields */);
Expand description
AUX area iterator.
Implementations§
Source§impl<'a> Iter<'a>
impl<'a> Iter<'a>
Sourcepub fn next(&mut self, max_chunk_len: Option<NonZeroUsize>) -> Option<Vec<u8>>
pub fn next(&mut self, max_chunk_len: Option<NonZeroUsize>) -> Option<Vec<u8>>
Advances the iterator and returns the next value.
max_chunk_len
specifies the maximum length of a chunk
that can be produced at one time, unlimited if None
.
Sourcepub fn into_async(self) -> Result<AsyncIter<'a>>
pub fn into_async(self) -> Result<AsyncIter<'a>>
Creates an asynchronous iterator.
Auto Trait Implementations§
impl<'a> Freeze for Iter<'a>
impl<'a> RefUnwindSafe for Iter<'a>
impl<'a> Send for Iter<'a>
impl<'a> Sync for Iter<'a>
impl<'a> Unpin for Iter<'a>
impl<'a> UnwindSafe for Iter<'a>
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