Struct oci_spec::runtime::LinuxSyscall [−][src]
pub struct LinuxSyscall {
pub names: Vec<String>,
pub action: LinuxSeccompAction,
pub errno_ret: Option<u32>,
pub args: Option<Vec<LinuxSeccompArg>>,
}
Expand description
LinuxSyscall is used to match a syscall in seccomp.
Fields
names: Vec<String>
The names of the syscalls.
action: LinuxSeccompAction
The action to be done for the syscalls.
errno_ret: Option<u32>
The error return value.
args: Option<Vec<LinuxSeccompArg>>
The arguments for the syscalls.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LinuxSyscall
impl Send for LinuxSyscall
impl Sync for LinuxSyscall
impl Unpin for LinuxSyscall
impl UnwindSafe for LinuxSyscall
Blanket Implementations
Mutably borrows from an owned value. Read more