Struct object::read::archive::ArchiveMember
source · pub struct ArchiveMember<'data> { /* private fields */ }
Expand description
A partially parsed archive member.
Implementations§
source§impl<'data> ArchiveMember<'data>
impl<'data> ArchiveMember<'data>
sourcepub fn header(&self) -> Option<&'data Header>
pub fn header(&self) -> Option<&'data Header>
Return the raw header that is common to many archive formats.
Returns None
if this archive does not use the common header format.
sourcepub fn aix_header(&self) -> Option<&'data AixHeader>
pub fn aix_header(&self) -> Option<&'data AixHeader>
Return the raw header for AIX big archives.
Returns None
if this is not an AIX big archive.
sourcepub fn name(&self) -> &'data [u8] ⓘ
pub fn name(&self) -> &'data [u8] ⓘ
Return the parsed file name.
This may be an extended file name.
sourcepub fn file_range(&self) -> (u64, u64)
pub fn file_range(&self) -> (u64, u64)
Return the offset and size of the file data.
Trait Implementations§
Auto Trait Implementations§
impl<'data> RefUnwindSafe for ArchiveMember<'data>
impl<'data> Send for ArchiveMember<'data>
impl<'data> Sync for ArchiveMember<'data>
impl<'data> Unpin for ArchiveMember<'data>
impl<'data> UnwindSafe for ArchiveMember<'data>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more