pub enum OsAbi {
Show 24 variants
SYSTEMV,
HPUX,
NETBSD,
GNU,
LINUX,
HURD,
SOLARIS,
AIX,
IRIX,
FREEBSD,
TRU64,
MODESTO,
OPENBSD,
OPENVMS,
NSK,
AROS,
FENIXOS,
CLOUDABI,
C6000_ELFABI,
AMDGPU_HSA,
C6000_LINUX,
ARM,
STANDALONE,
UNKNOWN(u32),
}
Expand description
Match the result Elfxx_Ehdr.e_ident[EI_OSABI]
Variants§
SYSTEMV
UNIX System V ABI
HPUX
HP-UX operating system
NETBSD
NetBSD
GNU
GNU/Linux
LINUX
Historical alias for ELFOSABI_GNU.
HURD
GNU/Hurd
SOLARIS
Solaris
AIX
AIX
IRIX
IRIX
FREEBSD
FreeBSD
TRU64
TRU64 UNIX
MODESTO
Novell Modesto
OPENBSD
OpenBSD
OPENVMS
OpenVMS
NSK
Hewlett-Packard Non-Stop Kernel
AROS
AROS
FENIXOS
FenixOS
CLOUDABI
Nuxi CloudABI
C6000_ELFABI
Bare-metal TMS320C6000
AMDGPU_HSA
AMD HSA runtim
C6000_LINUX
Linux TMS320C6000
ARM
ARM
STANDALONE
Standalone (embedded) applicatio
UNKNOWN(u32)
Implementations§
§impl OsAbi
impl OsAbi
pub fn from_value(value: u32) -> Self
Trait Implementations§
§impl Ord for OsAbi
impl Ord for OsAbi
§impl PartialOrd<OsAbi> for OsAbi
impl PartialOrd<OsAbi> for OsAbi
§fn partial_cmp(&self, other: &OsAbi) -> Option<Ordering>
fn partial_cmp(&self, other: &OsAbi) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OsAbi
impl Eq for OsAbi
impl StructuralEq for OsAbi
impl StructuralPartialEq for OsAbi
Auto Trait Implementations§
impl RefUnwindSafe for OsAbi
impl Send for OsAbi
impl Sync for OsAbi
impl Unpin for OsAbi
impl UnwindSafe for OsAbi
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