Enum oci_spec::runtime::LinuxSeccompAction
source · pub enum LinuxSeccompAction {
ScmpActKill,
ScmpActKillThread,
ScmpActKillProcess,
ScmpActTrap,
ScmpActErrno,
ScmpActNotify,
ScmpActTrace,
ScmpActLog,
ScmpActAllow,
}
Expand description
Available seccomp actions.
Variants§
ScmpActKill
Kill the thread, defined for backward compatibility.
ScmpActKillThread
Kill the thread
ScmpActKillProcess
Kill the process.
ScmpActTrap
Throw a SIGSYS signal.
ScmpActErrno
Return the specified error code.
ScmpActNotify
Notifies userspace.
ScmpActTrace
Notify a tracing process with the specified value.
ScmpActLog
Allow the syscall to be executed after the action has been logged.
ScmpActAllow
Allow the syscall to be executed.
Trait Implementations§
source§impl Clone for LinuxSeccompAction
impl Clone for LinuxSeccompAction
source§fn clone(&self) -> LinuxSeccompAction
fn clone(&self) -> LinuxSeccompAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LinuxSeccompAction
impl Debug for LinuxSeccompAction
source§impl Default for LinuxSeccompAction
impl Default for LinuxSeccompAction
source§impl<'de> Deserialize<'de> for LinuxSeccompAction
impl<'de> Deserialize<'de> for LinuxSeccompAction
source§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
source§impl Display for LinuxSeccompAction
impl Display for LinuxSeccompAction
source§impl From<LinuxSeccompAction> for u32
impl From<LinuxSeccompAction> for u32
source§fn from(action: LinuxSeccompAction) -> Self
fn from(action: LinuxSeccompAction) -> Self
Converts to this type from the input type.
source§impl FromStr for LinuxSeccompAction
impl FromStr for LinuxSeccompAction
source§impl PartialEq for LinuxSeccompAction
impl PartialEq for LinuxSeccompAction
source§impl Serialize for LinuxSeccompAction
impl Serialize for LinuxSeccompAction
source§impl TryFrom<&str> for LinuxSeccompAction
impl TryFrom<&str> for LinuxSeccompAction
impl Copy for LinuxSeccompAction
impl Eq for LinuxSeccompAction
impl StructuralPartialEq for LinuxSeccompAction
Auto Trait Implementations§
impl Freeze for LinuxSeccompAction
impl RefUnwindSafe for LinuxSeccompAction
impl Send for LinuxSeccompAction
impl Sync for LinuxSeccompAction
impl Unpin for LinuxSeccompAction
impl UnwindSafe for LinuxSeccompAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)