Struct thread_scoped::JoinGuard
[−]
[src]
#[must_use = "thread will be immediately joined if `JoinGuard` is not used"]pub struct JoinGuard<'a, T: Send + 'a> { /* fields omitted */ }
A RAII guard for that joins a scoped thread upon drop
Panics
JoinGuard
will panic on join or drop if its owned thread panics