Enum libseccomp::ScmpArch [−][src]
#[non_exhaustive] pub enum ScmpArch {}Show variants
Native, X86, X8664, X32, Arm, Aarch64, Mips, Mips64, Mips64N32, Mipsel, Mipsel64, Mipsel64N32, Ppc, Ppc64, Ppc64Le, S390, S390X, Parisc, Parisc64, Riscv64,
Expand description
ScmpArch represents a CPU architecture. Seccomp can restrict syscalls on a per-architecture basis.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Expand description
The native architecture token
Expand description
The x86 (32-bit) architecture token
Expand description
The x86-64 (64-bit) architecture token
Expand description
The x32 (32-bit x86_64) architecture token
Expand description
The ARM architecture token
Expand description
The AARCH64 architecture token
Expand description
The MIPS architecture token
Expand description
The MIPS (64-bit) architecture token
Expand description
The MIPS64N32 architecture token
Expand description
The MIPSEL architecture token
Expand description
The MIPSEL (64-bit) architecture token
Expand description
The MIPSEL64N32 architecture token
Expand description
The PowerPC architecture token
Expand description
The PowerPC (64-bit) architecture token
Expand description
The PowerPC64LE architecture token
Expand description
The S390 architecture token
Expand description
The S390X architecture token
Expand description
The PA-RISC hppa architecture token
Expand description
The PA-RISC (64-bit) hppa architecture token
Expand description
The RISC-V architecture token
Implementations
Trait Implementations
impl Copy for ScmpArch
[src]
impl Eq for ScmpArch
[src]
impl StructuralEq for ScmpArch
[src]
impl StructuralPartialEq for ScmpArch
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScmpArch
impl Send for ScmpArch
impl Sync for ScmpArch
impl Unpin for ScmpArch
impl UnwindSafe for ScmpArch
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more