Enum ArchiveKind

enum ArchiveKind

The kind of archive format.

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.

Implementations

impl Clone for ArchiveKind

fn clone(self: &Self) -> ArchiveKind

impl Copy for ArchiveKind

impl Debug for ArchiveKind

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Eq for ArchiveKind

impl Freeze for ArchiveKind

impl Hash for ArchiveKind

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl PartialEq for ArchiveKind

fn eq(self: &Self, other: &ArchiveKind) -> bool

impl RefUnwindSafe for ArchiveKind

impl Send for ArchiveKind

impl StructuralPartialEq for ArchiveKind

impl Sync for ArchiveKind

impl Unpin for ArchiveKind

impl UnwindSafe for ArchiveKind

impl<T> Any for ArchiveKind

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ArchiveKind

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ArchiveKind

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

impl<T> CloneToUninit for ArchiveKind

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ArchiveKind

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ArchiveKind

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ArchiveKind

fn into(self: 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 for ArchiveKind

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ArchiveKind

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