Struct tar::Entries[][src]

pub struct Entries<'a, R: 'a + Read> { /* fields omitted */ }

An iterator over the entries of an archive.

Implementations

impl<'a, R: Read> Entries<'a, R>[src]

pub fn raw(self, raw: bool) -> Entries<'a, R>

Notable traits for Entries<'a, R>

impl<'a, R: Read> Iterator for Entries<'a, R> type Item = Result<Entry<'a, R>>;
[src]

Indicates whether this iterator will return raw entries or not.

If the raw list of entries are returned, then no preprocessing happens on account of this library, for example taking into account GNU long name or long link archive members. Raw iteration is disabled by default.

Trait Implementations

impl<'a, R: Read> Iterator for Entries<'a, R>[src]

type Item = Result<Entry<'a, R>>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, R> !RefUnwindSafe for Entries<'a, R>

impl<'a, R> !Send for Entries<'a, R>

impl<'a, R> !Sync for Entries<'a, R>

impl<'a, R> Unpin for Entries<'a, R>

impl<'a, R> !UnwindSafe for Entries<'a, R>

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.