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

Attempt to join the handle without blocking, returning an Err containing the handle if unsuccessful.

Block the current thread, waiting for this job to complete.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.