Struct Entries

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

An iterator over the entries of an archive.

Implementations

impl<'a, R: Read> Entries<'a, R>

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

Indicates whether this iterator will return raw entries or not.

If the raw list of entries is 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>

type Item = Result<Entry<'a, R>, Error>;
fn next(&mut self) -> Option<Result<Entry<'a, R>>>

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> !UnwindSafe for Entries<'a, R>

impl<'a, R> Freeze for Entries<'a, R> where PhantomData<&'a Archive<R>>: Freeze,

impl<'a, R> Unpin for Entries<'a, R> where PhantomData<&'a Archive<R>>: Unpin,

impl<'a, R> UnsafeUnpin for Entries<'a, R> where PhantomData<&'a Archive<R>>: UnsafeUnpin,

Blanket Implementations

impl<I> IntoIterator for Entries<'a, R> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for Entries<'a, R> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Entries<'a, R> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Entries<'a, R> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for Entries<'a, R>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for Entries<'a, R> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom<U> for Entries<'a, R> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Entries<'a, R> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>