Struct PaxExtensions

pub struct PaxExtensions<'entry> { /* private fields */ }

An iterator over the pax extensions in an archive entry.

This iterator yields structures which can themselves be parsed into key/value pairs.

Implementations

impl<'entry> PaxExtensions<'entry>

fn new(a: &'entry [u8]) -> Self

Create new pax extensions iterator from the given entry data.

Trait Implementations

impl<'entry> Iterator for PaxExtensions<'entry>

type Item = Result<PaxExtension<'entry>, Error>;
fn next(&mut self) -> Option<Result<PaxExtension<'entry>>>

Auto Trait Implementations

impl<'entry> Freeze for PaxExtensions<'entry>

impl<'entry> RefUnwindSafe for PaxExtensions<'entry>

impl<'entry> Send for PaxExtensions<'entry>

impl<'entry> Sync for PaxExtensions<'entry>

impl<'entry> Unpin for PaxExtensions<'entry>

impl<'entry> UnsafeUnpin for PaxExtensions<'entry>

impl<'entry> UnwindSafe for PaxExtensions<'entry>

Blanket Implementations

impl<I> IntoIterator for PaxExtensions<'entry> where I: Iterator,

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

impl<T> Any for PaxExtensions<'entry> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for PaxExtensions<'entry> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for PaxExtensions<'entry> where T: ?Sized,

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

impl<T> From<T> for PaxExtensions<'entry>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for PaxExtensions<'entry> 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 PaxExtensions<'entry> where U: Into<T>,

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

impl<T, U> TryInto<U> for PaxExtensions<'entry> where U: TryFrom<T>,

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