Struct poolite::Pool [] [src]

pub struct Pool { /* fields omitted */ }

The Pool struct

Methods

impl Pool
[src]

[src]

[src]

[src]

Get Pool's settings

[src]

All threads are waiting and tasks_queue'length is 0.

[src]

Returns the length of the tasks_queue.

[src]

Contains the number of ready to create

[src]

Returns the number of threads in the Pool.

[src]

Returns the number of threads that is waiting for Task in the Pool

[src]

The daemon thread's status

[src]

Appends a task to the Pool,

it receives Fn() + Send + 'static,FnMut() + Send + 'static and FnOnce() + Send + 'static>.

[src]

Manually add the number of threads to Pool

[src]

wait for the pool

impl Pool
[src]

[src]

Trait Implementations

impl Send for Pool
[src]

impl Sync for Pool
[src]

impl Debug for Pool
[src]

[src]

Formats the value using the given formatter.

impl Drop for Pool
[src]

[src]

Executes the destructor for this type. Read more