Enum object::read::archive::ArchiveKind
source · #[non_exhaustive]pub enum ArchiveKind {
Unknown,
Gnu,
Gnu64,
Bsd,
Bsd64,
Coff,
AixBig,
}
Expand description
The kind of archive format.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
There are no special files that indicate the archive format.
Gnu
The GNU (or System V) archive format.
Gnu64
The GNU (or System V) archive format with 64-bit symbol table.
Bsd
The BSD archive format.
Bsd64
The BSD archive format with 64-bit symbol table.
This is used for Darwin.
Coff
The Windows COFF archive format.
AixBig
The AIX big archive format.
Trait Implementations§
source§impl Clone for ArchiveKind
impl Clone for ArchiveKind
source§fn clone(&self) -> ArchiveKind
fn clone(&self) -> ArchiveKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArchiveKind
impl Debug for ArchiveKind
source§impl Hash for ArchiveKind
impl Hash for ArchiveKind
source§impl PartialEq for ArchiveKind
impl PartialEq for ArchiveKind
source§fn eq(&self, other: &ArchiveKind) -> bool
fn eq(&self, other: &ArchiveKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ArchiveKind
impl Eq for ArchiveKind
impl StructuralEq for ArchiveKind
impl StructuralPartialEq for ArchiveKind
Auto Trait Implementations§
impl RefUnwindSafe for ArchiveKind
impl Send for ArchiveKind
impl Sync for ArchiveKind
impl Unpin for ArchiveKind
impl UnwindSafe for ArchiveKind
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