pub struct WaitOptions { /* private fields */ }Expand description
Options controlling waitpid behavior, modeled after POSIX flags.
Implementations§
Source§impl WaitOptions
impl WaitOptions
Sourcepub const WCONTINUED: u32 = 8u32
pub const WCONTINUED: u32 = 8u32
Also return if a stopped child has been resumed by SIGCONT.
Sourcepub fn from_flags(flags: u32) -> Self
pub fn from_flags(flags: u32) -> Self
Create options from raw flags.
Sourcepub fn is_untraced(&self) -> bool
pub fn is_untraced(&self) -> bool
Check whether WUNTRACED is set.
Sourcepub fn is_continued(&self) -> bool
pub fn is_continued(&self) -> bool
Check whether WCONTINUED is set.
Trait Implementations§
Source§impl Clone for WaitOptions
impl Clone for WaitOptions
Source§fn clone(&self) -> WaitOptions
fn clone(&self) -> WaitOptions
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WaitOptions
impl Debug for WaitOptions
Source§impl Default for WaitOptions
impl Default for WaitOptions
Source§fn default() -> WaitOptions
fn default() -> WaitOptions
Returns the “default value” for a type. Read more
impl Copy for WaitOptions
Auto Trait Implementations§
impl Freeze for WaitOptions
impl RefUnwindSafe for WaitOptions
impl Send for WaitOptions
impl Sync for WaitOptions
impl Unpin for WaitOptions
impl UnwindSafe for WaitOptions
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)