pub struct ArchiveFile<'data, R: ReadRef<'data> = &'data [u8]> { /* private fields */ }
Expand description
A partially parsed archive file.
Implementations§
Source§impl<'data, R: ReadRef<'data>> ArchiveFile<'data, R>
impl<'data, R: ReadRef<'data>> ArchiveFile<'data, R>
Sourcepub fn kind(&self) -> ArchiveKind
pub fn kind(&self) -> ArchiveKind
Return the archive format.
Sourcepub fn members(&self) -> ArchiveMemberIterator<'data, R> ⓘ
pub fn members(&self) -> ArchiveMemberIterator<'data, R> ⓘ
Iterate over the members of the archive.
This does not return special members.
Trait Implementations§
Auto Trait Implementations§
impl<'data, R> Freeze for ArchiveFile<'data, R>where
R: Freeze,
impl<'data, R> RefUnwindSafe for ArchiveFile<'data, R>where
R: RefUnwindSafe,
impl<'data, R> Send for ArchiveFile<'data, R>where
R: Send,
impl<'data, R> Sync for ArchiveFile<'data, R>where
R: Sync,
impl<'data, R> Unpin for ArchiveFile<'data, R>where
R: Unpin,
impl<'data, R> UnwindSafe for ArchiveFile<'data, R>where
R: UnwindSafe,
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