pub struct ScopedJoinHandle<'scope, T> { /* private fields */ }
Expand description

A handle to a scoped thread

Implementations§

Waits for the associated thread to finish.

If the child thread panics, Err is returned with the parameter given to panic.

Panics

This function may panic on some platforms if a thread attempts to join itself or otherwise may create a deadlock with joining threads.

Gets the underlying std::thread::Thread handle.

Trait Implementations§

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.