Enum libseccomp::ScmpArch [−][src]
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,
ScmpArch represents a CPU architecture. Seccomp can restrict syscalls on a per-architecture basis.
Variants
The native architecture token
The x86 (32-bit) architecture token
The x86-64 (64-bit) architecture token
The x32 (32-bit x86_64) architecture token
The ARM architecture token
The AARCH64 architecture token
The MIPS architecture token
The MIPS (64-bit) architecture token
The MIPS64N32 architecture token
The MIPSEL architecture token
The MIPSEL (64-bit) architecture token
The MIPSEL64N32 architecture token
The PowerPC architecture token
The PowerPC (64-bit) architecture token
The PowerPC64LE architecture token
The S390 architecture token
The S390X architecture token
The PA-RISC hppa architecture token
The PA-RISC (64-bit) hppa architecture token
The RISC-V architecture token
Implementations
impl ScmpArch
[src]
Trait Implementations
impl Clone for ScmpArch
[src]
impl Copy for ScmpArch
[src]
impl Debug for ScmpArch
[src]
impl Eq for ScmpArch
[src]
impl FromStr for ScmpArch
[src]
type Err = SeccompError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self>
[src]
impl PartialEq<ScmpArch> for ScmpArch
[src]
fn eq(&self, other: &ScmpArch) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,