[][src]Enum seccomp::Action

pub enum Action {
    Allow,
    Kill,
    KillProcess,
    Trap,
    Errno(i32),
    Trace(u32),
}

Seccomp actions

Variants

Allow

Allow the syscall to be executed

Kill

Kill the offending thread

KillProcess

Kill the whole offending process

Trap

Throw a SIGSYS signal

Errno(i32)

Return the specified error code

Trace(u32)

Notify a tracing process with the specified value

Trait Implementations

impl Clone for Action[src]

impl Copy for Action[src]

impl Debug for Action[src]

impl Into<u32> for Action[src]

Auto Trait Implementations

impl RefUnwindSafe for Action

impl Send for Action

impl Sync for Action

impl Unpin for Action

impl UnwindSafe for Action

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> 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.