Struct libseccomp_sys::seccomp_notif_addfd
source · [−]#[repr(C)]pub struct seccomp_notif_addfd {
pub id: u64,
pub flags: u32,
pub srcfd: u32,
pub newfd: u32,
pub newfd_flags: u32,
}
Fields
id: u64
flags: u32
srcfd: u32
newfd: u32
newfd_flags: u32
Trait Implementations
sourceimpl Clone for seccomp_notif_addfd
impl Clone for seccomp_notif_addfd
sourcefn clone(&self) -> seccomp_notif_addfd
fn clone(&self) -> seccomp_notif_addfd
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for seccomp_notif_addfd
impl Debug for seccomp_notif_addfd
sourceimpl Hash for seccomp_notif_addfd
impl Hash for seccomp_notif_addfd
sourceimpl PartialEq<seccomp_notif_addfd> for seccomp_notif_addfd
impl PartialEq<seccomp_notif_addfd> for seccomp_notif_addfd
sourcefn eq(&self, other: &seccomp_notif_addfd) -> bool
fn eq(&self, other: &seccomp_notif_addfd) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &seccomp_notif_addfd) -> bool
fn ne(&self, other: &seccomp_notif_addfd) -> bool
This method tests for !=
.
impl Copy for seccomp_notif_addfd
impl Eq for seccomp_notif_addfd
impl StructuralEq for seccomp_notif_addfd
impl StructuralPartialEq for seccomp_notif_addfd
Auto Trait Implementations
impl RefUnwindSafe for seccomp_notif_addfd
impl Send for seccomp_notif_addfd
impl Sync for seccomp_notif_addfd
impl Unpin for seccomp_notif_addfd
impl UnwindSafe for seccomp_notif_addfd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more