Struct clone_args

#[repr(C, align(8))]
pub struct 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

Trait Implementations

impl Clone for clone_args

fn clone(&self) -> clone_args

impl Copy for clone_args

impl Debug for clone_args

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for clone_args

impl Hash for clone_args

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for clone_args

fn eq(&self, other: &clone_args) -> bool

impl StructuralPartialEq for clone_args

Auto Trait Implementations

impl Freeze for clone_args

impl RefUnwindSafe for clone_args

impl Send for clone_args

impl Sync for clone_args

impl Unpin for clone_args

impl UnsafeUnpin for clone_args

impl UnwindSafe for clone_args

Blanket Implementations

impl<T> Any for clone_args where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for clone_args where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for clone_args where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for clone_args where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for clone_args

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for clone_args where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for clone_args where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for clone_args where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>