Type Alias clone_args

Source
pub type clone_args = linux_clone_args;

Aliased Type§

struct clone_args {
    pub flags: u64,
    pub pidfd: u64,
    pub child_tid: u64,
    pub parent_tid: u64,
    pub exit_signal: u64,
    pub stack: u64,
    pub stack_size: u64,
    pub tls: u64,
    pub set_tid: u64,
    pub set_tid_size: u64,
    pub cgroup: u64,
}

Fields§

§flags: u64§pidfd: u64§child_tid: u64§parent_tid: u64§exit_signal: u64§stack: u64§stack_size: u64§tls: u64§set_tid: u64§set_tid_size: u64§cgroup: u64

Implementations§

Source§

impl clone_args

Source

pub fn with_flags(self, flags: CloneFlags) -> Self

Source

pub fn with_exit_signal(self, exit_signal: Option<Signal>) -> Self

Trait Implementations§

Source§

impl Default for clone_args

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Pod for clone_args

Source§

impl Clone for linux_clone_args

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for linux_clone_args

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for linux_clone_args

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for linux_clone_args

Source§

impl Eq for linux_clone_args

Source§

impl StructuralPartialEq for linux_clone_args