[][src]Struct pconvert_rust::parallelism::ThreadPoolStatus

pub struct ThreadPoolStatus { /* fields omitted */ }

Represents the status of the thread pool (e.g. size, queued jobs, active jobs). Status counts use Atomic* data types in order to be safely shared across workers.

Implementations

impl ThreadPoolStatus[src]

pub fn new(size: usize) -> Self[src]

pub fn size(&self) -> usize[src]

pub fn queued(&self) -> usize[src]

pub fn active(&self) -> usize[src]

pub fn inc_queued_count(&self)[src]

pub fn dec_queued_count(&self)[src]

pub fn inc_active_count(&self)[src]

pub fn dec_active_count(&self)[src]

pub fn inc_size(&self)[src]

pub fn dec_size(&self)[src]

Trait Implementations

impl Clone for ThreadPoolStatus[src]

impl IntoPyDict for ThreadPoolStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.