pub enum Arch {
Show 17 variants
ScmpArchNative,
ScmpArchX86,
ScmpArchX86_64,
ScmpArchX32,
ScmpArchArm,
ScmpArchAarch64,
ScmpArchMips,
ScmpArchMips64,
ScmpArchMips64n32,
ScmpArchMipsel,
ScmpArchMipsel64,
ScmpArchMipsel64n32,
ScmpArchPpc,
ScmpArchPpc64,
ScmpArchPpc64le,
ScmpArchS390,
ScmpArchS390x,
}Expand description
Available seccomp architectures.
Variants
ScmpArchNative
The native architecture.
ScmpArchX86
The x86 (32-bit) architecture.
ScmpArchX86_64
The x86-64 (64-bit) architecture.
ScmpArchX32
The x32 (32-bit x86_64) architecture.
This is different from the value used by the kernel because we need to be able to distinguish between x32 and x86_64.
ScmpArchArm
The ARM architecture.
ScmpArchAarch64
The AArch64 architecture.
ScmpArchMips
The MIPS architecture.
ScmpArchMips64
The MIPS64 architecture.
ScmpArchMips64n32
The MIPS64n32 architecture.
ScmpArchMipsel
The MIPSel architecture.
ScmpArchMipsel64
The MIPSel64 architecture.
ScmpArchMipsel64n32
The MIPSel64n32 architecture.
ScmpArchPpc
The PowerPC architecture.
ScmpArchPpc64
The PowerPC64 architecture.
ScmpArchPpc64le
The PowerPC64le architecture.
ScmpArchS390
The S390 architecture.
ScmpArchS390x
The S390x architecture.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Arch
impl UnwindSafe for Arch
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.