[][src]Enum heim::host::Arch

pub enum Arch {
    AARCH64,
    ARM,
    ASMJS,
    MIPS,
    MIPS64,
    MSP430,
    POWERPC,
    POWERPC64,
    RISCV,
    S390X,
    SPARC,
    SPARC64,
    THUMBV6,
    THUMBV7,
    WASM32,
    X86,
    X86_64,
    Unknown,
}
This is supported on feature="host" only.

target_arch: Target CPU architecture

Variants

AARCH64
This is supported on feature="host" only.

aarch64: ARMv8 64-bit architecture

ARM
This is supported on feature="host" only.

arm: 32-bit ARM architecture

ASMJS
This is supported on feature="host" only.

asm: asm.js output

MIPS
This is supported on feature="host" only.

mips: 32-bit MIPS CPU architecture

MIPS64
This is supported on feature="host" only.

mips64: 32-bit MIPS CPU architecture

MSP430
This is supported on feature="host" only.

msp430: 16-bit MSP430 microcontrollers

POWERPC
This is supported on feature="host" only.

powerpc: 32-bit POWERPC platform

POWERPC64
This is supported on feature="host" only.

powerpc64: 64-bit POWERPC platform

RISCV
This is supported on feature="host" only.

riscv: RISC-V CPU architecture

S390X
This is supported on feature="host" only.

s390x: 64-bit IBM z/Architecture

SPARC
This is supported on feature="host" only.

sparc: 32-bit SPARC CPU architecture

SPARC64
This is supported on feature="host" only.

sparc64: 64-bit SPARC CPU architecture

THUMBV6
This is supported on feature="host" only.

thumbv6: 16-bit ARM CPU architecture subset

THUMBV7
This is supported on feature="host" only.

thumbv7: 16-bit ARM CPU architecture subset

WASM32
This is supported on feature="host" only.

wasm32: Web Assembly (32-bit)

X86
This is supported on feature="host" only.

x86: Generic x86 CPU architecture

X86_64
This is supported on feature="host" only.

x86_64: "AMD64" CPU architecture

Unknown
This is supported on feature="host" only.

Unknown CPU architecture

Methods

impl Arch[src]

pub fn as_str(self) -> &'static str[src]

This is supported on feature="host" only.

String representing this target architecture which matches cfg(target_arch)

Trait Implementations

impl Clone for Arch[src]

impl Copy for Arch[src]

impl Debug for Arch[src]

impl Eq for Arch[src]

impl FromStr for Arch[src]

type Err = Error

The associated error which can be returned from parsing.

fn from_str(arch_name: &str) -> Result<Arch, <Arch as FromStr>::Err>[src]

Create a new Arch from the given string

impl Hash for Arch[src]

impl Ord for Arch[src]

impl PartialEq<Arch> for Arch[src]

impl PartialOrd<Arch> for Arch[src]

impl StructuralEq for Arch[src]

impl StructuralPartialEq for Arch[src]

Auto Trait Implementations

impl RefUnwindSafe for Arch

impl Send for Arch

impl Sync for Arch

impl Unpin for Arch

impl UnwindSafe for Arch

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.