Struct object::read::archive::ArchiveFile [−][src]
A partially parsed archive file.
Implementations
impl<'data> ArchiveFile<'data>
[src]
pub fn parse(data: &'data [u8]) -> Result<Self>
[src]
Parse the archive header and special members.
pub fn kind(&self) -> ArchiveKind
[src]
Return the archive format.
pub fn members(&self) -> ArchiveMemberIterator<'data>ⓘNotable traits for ArchiveMemberIterator<'data>
impl<'data> Iterator for ArchiveMemberIterator<'data> type Item = Result<ArchiveMember<'data>>;
[src]
Notable traits for ArchiveMemberIterator<'data>
impl<'data> Iterator for ArchiveMemberIterator<'data> type Item = Result<ArchiveMember<'data>>;
Iterate over the members of the archive.
This does not return special members.
Trait Implementations
Auto Trait Implementations
impl<'data> Send for ArchiveFile<'data>
impl<'data> Sync for ArchiveFile<'data>
impl<'data> Unpin for ArchiveFile<'data>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,