[−][src]Enum threads_pool::ExecutionError
Enumeration to indicate possible reasons a job execution request is rejected. User will need to resubmit the job again, since closure's state may have been stale at the execution error.
Variants
The job can't be executed because the queue is full when the new job is submitted and no new worker becomes available before predetermined timeout period.
The pool hasn't been initialized (i.e. lazy created), or all workers have been terminated, such that there is no working threads to execute the job
The pool is shutting down, or the internal pipeline is broken for whatever reasons.
Pool's internal states have been corrupted
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExecutionError
impl Send for ExecutionError
impl Sync for ExecutionError
impl Unpin for ExecutionError
impl UnwindSafe for ExecutionError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,