Struct leftwm_core::utils::child_process::Children[][src]

pub struct Children { /* fields omitted */ }
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

Insert a Child in the Children. If this Children did not have this value present, true is returned. If this Children did have this value present, false is returned.

Merge another Children into this Children.

Try reaping all the children processes managed by this struct.

Trait Implementations

Formats the value using the given formatter. Read more

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

Extends a collection with the contents of an iterator. Read more

🔬 This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

🔬 This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Creates a value from an iterator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.