Struct oci_spec::runtime::LinuxSyscall
source · pub struct LinuxSyscall { /* private fields */ }
Expand description
LinuxSyscall is used to match a syscall in seccomp.
Implementations§
source§impl LinuxSyscall
impl LinuxSyscall
source§impl LinuxSyscall
impl LinuxSyscall
source§impl LinuxSyscall
impl LinuxSyscall
sourcepub fn set_action(&mut self, val: LinuxSeccompAction) -> &mut Self
pub fn set_action(&mut self, val: LinuxSeccompAction) -> &mut Self
The action to be done for the syscalls.
sourcepub fn set_errno_ret(&mut self, val: Option<u32>) -> &mut Self
pub fn set_errno_ret(&mut self, val: Option<u32>) -> &mut Self
The error return value.
sourcepub fn set_args(&mut self, val: Option<Vec<LinuxSeccompArg>>) -> &mut Self
pub fn set_args(&mut self, val: Option<Vec<LinuxSeccompArg>>) -> &mut Self
The arguments for the syscalls.
Trait Implementations§
source§impl Clone for LinuxSyscall
impl Clone for LinuxSyscall
source§fn clone(&self) -> LinuxSyscall
fn clone(&self) -> LinuxSyscall
Returns a copy of the value. Read more
1.0.0 · 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 LinuxSyscall
impl Debug for LinuxSyscall
source§impl Default for LinuxSyscall
impl Default for LinuxSyscall
source§fn default() -> LinuxSyscall
fn default() -> LinuxSyscall
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LinuxSyscall
impl<'de> Deserialize<'de> for LinuxSyscall
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
source§impl PartialEq for LinuxSyscall
impl PartialEq for LinuxSyscall
source§impl Serialize for LinuxSyscall
impl Serialize for LinuxSyscall
impl Eq for LinuxSyscall
impl StructuralPartialEq for LinuxSyscall
Auto Trait Implementations§
impl Freeze for LinuxSyscall
impl RefUnwindSafe for LinuxSyscall
impl Send for LinuxSyscall
impl Sync for LinuxSyscall
impl Unpin for LinuxSyscall
impl UnwindSafe for LinuxSyscall
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)