pub enum Action {
Allow,
Kill,
Trap,
Errno(i32),
Trace(u32),
}Expand description
Seccomp actions
Variants§
Allow
Allow the syscall to be executed
Kill
Kill the 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 Copy for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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