Enum libseccomp::ScmpAction [−][src]
#[non_exhaustive] pub enum ScmpAction { KillProcess, KillThread, Trap, Notify, Errno(u32), Trace(u32), Log, Allow, }
Expand description
ScmpAction represents an action to be taken on a filter rule match in libseccomp
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Expand description
Kill the process
Expand description
Kill the thread
Expand description
Throw a SIGSYS signal
Expand description
Notifies userspace
Errno(u32)
Expand description
Return the specified error code
Trace(u32)
Expand description
Notify a tracing process with the specified value
Expand description
Allow the syscall to be executed after the action has been logged
Expand description
Allow the syscall to be executed
Implementations
impl ScmpAction
[src]
impl ScmpAction
[src]Trait Implementations
impl Clone for ScmpAction
[src]
impl Clone for ScmpAction
[src]fn clone(&self) -> ScmpAction
[src]
fn clone(&self) -> ScmpAction
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ScmpAction
[src]
impl Debug for ScmpAction
[src]impl PartialEq<ScmpAction> for ScmpAction
[src]
impl PartialEq<ScmpAction> for ScmpAction
[src]fn eq(&self, other: &ScmpAction) -> bool
[src]
fn eq(&self, other: &ScmpAction) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ScmpAction) -> bool
[src]
fn ne(&self, other: &ScmpAction) -> bool
[src]This method tests for !=
.
impl Copy for ScmpAction
[src]
impl Eq for ScmpAction
[src]
impl StructuralEq for ScmpAction
[src]
impl StructuralPartialEq for ScmpAction
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScmpAction
impl Send for ScmpAction
impl Sync for ScmpAction
impl Unpin for ScmpAction
impl UnwindSafe for ScmpAction
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