Enum libscmp::Arch [−][src]
#[non_exhaustive] #[repr(u32)] pub enum Arch {}Show variants
NATIVE, X86, X86_64, X32, ARM, AARCH64, MIPS, MIPS64, MIPS64N32, MIPSEL, MIPSEL64, MIPSEL64N32, PPC, PPC64, PPC64LE, S390, S390X, PARISC, PARISC64, RISCV64,
Expand description
An architecture supported by libseccomp
.
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.
Represents the “native” architecture; i.e. the current system architecture.
In general, specifying this is equivalent to specifying
Arch::native()
.
Implementations
Return a slice listing all architectures supported by the installed version of libseccomp
.
This probes the currently loaded libseccomp
to determine whether it supports architectures
that were only added in recent versions of libseccomp
.
Returns whether the currently loaded libseccomp supports this architecture.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Arch
impl UnwindSafe for Arch
Blanket Implementations
Mutably borrows from an owned value. Read more