pub struct SyscallArg {
pub index: u32,
pub value: u64,
pub value_two: Option<u64>,
pub op: String,
}Expand description
Seccomp syscall argument filter.
Fields§
§index: u32Argument index.
value: u64Value to compare.
value_two: Option<u64>Secondary value (for masked equality).
op: StringComparison operator.
Trait Implementations§
Source§impl Clone for SyscallArg
impl Clone for SyscallArg
Source§fn clone(&self) -> SyscallArg
fn clone(&self) -> SyscallArg
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 SyscallArg
impl Debug for SyscallArg
Source§impl<'de> Deserialize<'de> for SyscallArg
impl<'de> Deserialize<'de> for SyscallArg
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 SyscallArg
impl RefUnwindSafe for SyscallArg
impl Send for SyscallArg
impl Sync for SyscallArg
impl Unpin for SyscallArg
impl UnsafeUnpin for SyscallArg
impl UnwindSafe for SyscallArg
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