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

Wrapper type around bytes, which represents a Tar archive. Unlike [TarArchive], this uses only a reference to data.

Implementations

Creates a new archive wrapper type. The provided byte array is interpreted as bytes in Tar archive format.

Iterates over all entries of the Tar archive. Returns items of type ArchiveEntry. See also ArchiveIterator.

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.