Struct ArchiveFile
struct ArchiveFile<'data, R: ReadRef<'data> = &'data [u8]> { ... }
A partially parsed archive file.
Implementations
impl<'data, R: ReadRef<'data>> ArchiveFile<'data, R>
fn parse(data: R) -> read::Result<Self>Parse the archive header and special members.
fn kind(self: &Self) -> ArchiveKindReturn the archive format.
fn is_thin(self: &Self) -> boolReturn true if the archive is a thin archive.
fn members(self: &Self) -> ArchiveMemberIterator<'data, R>Iterate over the members of the archive.
This does not return special members.
fn member(self: &Self, member: ArchiveOffset) -> read::Result<ArchiveMember<'data>>Return the member at the given offset.
fn symbols(self: &Self) -> read::Result<Option<ArchiveSymbolIterator<'data>>>Iterate over the symbols in the archive.
impl<'data, R> Freeze for ArchiveFile<'data, R>
impl<'data, R> RefUnwindSafe for ArchiveFile<'data, R>
impl<'data, R> Send for ArchiveFile<'data, R>
impl<'data, R> Sync for ArchiveFile<'data, R>
impl<'data, R> Unpin for ArchiveFile<'data, R>
impl<'data, R> UnwindSafe for ArchiveFile<'data, R>
impl<'data, R: $crate::clone::Clone + ReadRef<'data>> Clone for ArchiveFile<'data, R>
fn clone(self: &Self) -> ArchiveFile<'data, R>
impl<'data, R: $crate::fmt::Debug + ReadRef<'data>> Debug for ArchiveFile<'data, R>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'data, R: $crate::marker::Copy + ReadRef<'data>> Copy for ArchiveFile<'data, R>
impl<T> Any for ArchiveFile<'data, R>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ArchiveFile<'data, R>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ArchiveFile<'data, R>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for ArchiveFile<'data, R>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for ArchiveFile<'data, R>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ArchiveFile<'data, R>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for ArchiveFile<'data, R>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for ArchiveFile<'data, R>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ArchiveFile<'data, R>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>