[][src]Struct threadpool::ThreadPoolSharedData

pub struct ThreadPoolSharedData {
    pub name: Option<String>,
    pub job_receiver: Mutex<Receiver<Box<dyn FnBox + Send + 'static>>>,
    pub empty_trigger: Mutex<()>,
    pub empty_condvar: Condvar,
    pub join_generation: AtomicUsize,
    pub queued_count: AtomicUsize,
    pub active_count: AtomicUsize,
    pub max_thread_count: AtomicUsize,
    pub panic_count: AtomicUsize,
}

Fields

name: Option<String>job_receiver: Mutex<Receiver<Box<dyn FnBox + Send + 'static>>>empty_trigger: Mutex<()>empty_condvar: Condvarjoin_generation: AtomicUsizequeued_count: AtomicUsizeactive_count: AtomicUsizemax_thread_count: AtomicUsizepanic_count: AtomicUsize

Auto Trait Implementations

impl !RefUnwindSafe for ThreadPoolSharedData

impl Send for ThreadPoolSharedData

impl Sync for ThreadPoolSharedData

impl Unpin for ThreadPoolSharedData

impl UnwindSafe for ThreadPoolSharedData

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, 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.