pub struct SyscallRule {
pub names: Vec<String>,
pub action: String,
pub errno_ret: Option<u32>,
pub args: Vec<SyscallArg>,
}Expand description
Seccomp syscall rule.
Fields§
§names: Vec<String>Syscall names.
action: StringAction to take.
errno_ret: Option<u32>Errno return value.
args: Vec<SyscallArg>Arguments.
Trait Implementations§
Source§impl Clone for SyscallRule
impl Clone for SyscallRule
Source§fn clone(&self) -> SyscallRule
fn clone(&self) -> SyscallRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SyscallRule
impl Debug for SyscallRule
Source§impl<'de> Deserialize<'de> for SyscallRule
impl<'de> Deserialize<'de> for SyscallRule
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
Auto Trait Implementations§
impl Freeze for SyscallRule
impl RefUnwindSafe for SyscallRule
impl Send for SyscallRule
impl Sync for SyscallRule
impl Unpin for SyscallRule
impl UnsafeUnpin for SyscallRule
impl UnwindSafe for SyscallRule
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