#[repr(C)]pub struct linux_clone_args {
pub flags: c_ulonglong,
pub pidfd: c_ulonglong,
pub child_tid: c_ulonglong,
pub parent_tid: c_ulonglong,
pub exit_signal: c_ulonglong,
pub stack: c_ulonglong,
pub stack_size: c_ulonglong,
pub tls: c_ulonglong,
pub set_tid: c_ulonglong,
pub set_tid_size: c_ulonglong,
pub cgroup: c_ulonglong,
}
Fields§
§flags: c_ulonglong
§pidfd: c_ulonglong
§child_tid: c_ulonglong
§parent_tid: c_ulonglong
§exit_signal: c_ulonglong
§stack: c_ulonglong
§stack_size: c_ulonglong
§tls: c_ulonglong
§set_tid: c_ulonglong
§set_tid_size: c_ulonglong
§cgroup: c_ulonglong
Implementations§
source§impl linux_clone_args
impl linux_clone_args
pub fn with_flags(self, flags: CloneFlags) -> Self
pub fn with_exit_signal(self, exit_signal: Option<Signal>) -> Self
Trait Implementations§
source§impl Clone for linux_clone_args
impl Clone for linux_clone_args
source§fn clone(&self) -> linux_clone_args
fn clone(&self) -> linux_clone_args
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 linux_clone_args
impl Debug for linux_clone_args
source§impl PartialEq for linux_clone_args
impl PartialEq for linux_clone_args
impl Copy for linux_clone_args
impl Eq for linux_clone_args
impl StructuralPartialEq for linux_clone_args
Auto Trait Implementations§
impl Freeze for linux_clone_args
impl RefUnwindSafe for linux_clone_args
impl Send for linux_clone_args
impl Sync for linux_clone_args
impl Unpin for linux_clone_args
impl UnwindSafe for linux_clone_args
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
)