pub struct OciSeccompSyscall {
pub names: Vec<String>,
pub action: String,
pub args: Vec<OciSeccompArg>,
}Expand description
A single seccomp syscall rule.
Fields§
§names: Vec<String>Syscall names this rule applies to
action: StringAction to take (e.g. “SCMP_ACT_ALLOW”)
args: Vec<OciSeccompArg>Optional argument conditions
Trait Implementations§
Source§impl Clone for OciSeccompSyscall
impl Clone for OciSeccompSyscall
Source§fn clone(&self) -> OciSeccompSyscall
fn clone(&self) -> OciSeccompSyscall
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 OciSeccompSyscall
impl Debug for OciSeccompSyscall
Source§impl<'de> Deserialize<'de> for OciSeccompSyscall
impl<'de> Deserialize<'de> for OciSeccompSyscall
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 OciSeccompSyscall
impl RefUnwindSafe for OciSeccompSyscall
impl Send for OciSeccompSyscall
impl Sync for OciSeccompSyscall
impl Unpin for OciSeccompSyscall
impl UnsafeUnpin for OciSeccompSyscall
impl UnwindSafe for OciSeccompSyscall
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