Struct object::read::archive::ArchiveFile[][src]

pub struct ArchiveFile<'data> { /* fields omitted */ }

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]

Iterate over the members of the archive.

This does not return special members.

Trait Implementations

impl<'data> Debug for ArchiveFile<'data>[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.