Struct lagoon::JobHandle [−][src]
pub struct JobHandle<T> { /* fields omitted */ }
Expand description
A handle that refers to a job that notifies on completion. It may be created with ThreadPool::run_recv
.
Implementations
Returns whether the job associated with this handle has finished executing and can be joined without blocking.
Attempt to join the handle without blocking, returning an Err
containing the handle if unsuccessful.
Auto Trait Implementations
impl<T> !RefUnwindSafe for JobHandle<T>
impl<T> UnwindSafe for JobHandle<T> where
T: RefUnwindSafe + UnwindSafe,