#[repr(C)]pub struct SeccompNotifResp {
pub id: u64,
pub val: i64,
pub error: i32,
pub flags: u32,
}Expand description
Response to a seccomp notification (mirrors kernel struct seccomp_notif_resp).
Fields§
§id: u64Must match the notification ID.
val: i64Return value for the syscall.
error: i32Errno value (negated in kernel).
flags: u32Flags (e.g., SECCOMP_USER_NOTIF_FLAG_CONTINUE).
Trait Implementations§
Source§impl Clone for SeccompNotifResp
impl Clone for SeccompNotifResp
Source§fn clone(&self) -> SeccompNotifResp
fn clone(&self) -> SeccompNotifResp
Returns a duplicate 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 SeccompNotifResp
impl Debug for SeccompNotifResp
Source§impl Default for SeccompNotifResp
impl Default for SeccompNotifResp
Source§fn default() -> SeccompNotifResp
fn default() -> SeccompNotifResp
Returns the “default value” for a type. Read more
impl Copy for SeccompNotifResp
Auto Trait Implementations§
impl Freeze for SeccompNotifResp
impl RefUnwindSafe for SeccompNotifResp
impl Send for SeccompNotifResp
impl Sync for SeccompNotifResp
impl Unpin for SeccompNotifResp
impl UnsafeUnpin for SeccompNotifResp
impl UnwindSafe for SeccompNotifResp
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