pub struct Archive<'a> { /* private fields */ }
Expand description

An in-memory representation of a parsed Unix Archive

Implementations

Get the member named member in this archive, if any. If there are multiple files in the archive with the same name it only returns one of them.

Get the member at position index in this archive, if any.

Return the number of archive members.

Returns a slice of the raw bytes for the given member in the scrollable buffer

Gets a summary of this archive, returning a list of membername, the member, and the list of symbols the member contains

Get the list of member names in this archive

This returns members in alphabetical order, not in the order they occurred in the archive. If there are multiple files with the same name, the size of the returned array will be less than the size of len().

Returns the member’s name which contains the given symbol, if it is in the archive

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.