Struct leftwm_core::utils::child_process::Children
source · [−]pub struct Children { /* private fields */ }Expand description
A struct managing children processes.
The reap method could be called at any place the user wants to.
register_child_hook provides a hook that sets a flag. User may use the
flag to do a epoch-based reaping.
Implementations
sourceimpl Children
impl Children
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations
sourceimpl Extend<Child> for Children
impl Extend<Child> for Children
sourcefn extend<T: IntoIterator<Item = Child>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Child>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬 This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬 This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl FromIterator<Child> for Children
impl FromIterator<Child> for Children
sourcefn from_iter<T: IntoIterator<Item = Child>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = Child>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Children
impl Send for Children
impl Sync for Children
impl Unpin for Children
impl UnwindSafe for Children
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more