Struct oci_spec::runtime::LinuxSeccomp [−][src]
pub struct LinuxSeccomp {
pub default_action: LinuxSeccompAction,
pub architectures: Option<Vec<Arch>>,
pub flags: Option<Vec<String>>,
pub syscalls: Option<Vec<LinuxSyscall>>,
}Expand description
LinuxSeccomp represents syscall restrictions.
Fields
default_action: LinuxSeccompActionThe default action to be done.
architectures: Option<Vec<Arch>>Available architectures for the restriction.
flags: Option<Vec<String>>Flags added to the seccomp restriction.
syscalls: Option<Vec<LinuxSyscall>>The syscalls for the restriction.
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 LinuxSeccomp
impl Send for LinuxSeccomp
impl Sync for LinuxSeccomp
impl Unpin for LinuxSeccomp
impl UnwindSafe for LinuxSeccomp
Blanket Implementations
Mutably borrows from an owned value. Read more