pub struct ZipEntries<'archive, 'buf, R> { /* private fields */ }Expand description
A lending iterator over file header records in a ZipArchive.
Implementations§
Source§impl<R> ZipEntries<'_, '_, R>where
R: ReaderAt,
impl<R> ZipEntries<'_, '_, R>where
R: ReaderAt,
Sourcepub fn next_entry(&mut self) -> Result<Option<ZipFileHeaderRecord<'_>>, Error>
pub fn next_entry(&mut self) -> Result<Option<ZipFileHeaderRecord<'_>>, Error>
Yield the next zip file entry in the central directory if there is any
This method reads from the underlying archive reader into the provided buffer to parse entry headers.
Trait Implementations§
Auto Trait Implementations§
impl<'archive, 'buf, R> Freeze for ZipEntries<'archive, 'buf, R>
impl<'archive, 'buf, R> RefUnwindSafe for ZipEntries<'archive, 'buf, R>where
R: RefUnwindSafe,
impl<'archive, 'buf, R> Send for ZipEntries<'archive, 'buf, R>where
R: Sync,
impl<'archive, 'buf, R> Sync for ZipEntries<'archive, 'buf, R>where
R: Sync,
impl<'archive, 'buf, R> Unpin for ZipEntries<'archive, 'buf, R>
impl<'archive, 'buf, R> !UnwindSafe for ZipEntries<'archive, 'buf, R>
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