Struct thread_scoped::JoinGuard [−][src]
A RAII guard for that joins a scoped thread upon drop
Panics
JoinGuard
will panic on join or drop if its owned thread panics
Implementations
impl<'a, T: Send + 'a> JoinGuard<'a, T>
[src][−]
pub fn thread(&self) -> &Thread
[src][−]
Provides the backing Thread
object
pub fn join(self) -> T
[src][−]
Trait Implementations
impl<'a, T: Send + 'a> Drop for JoinGuard<'a, T>
[src][+]
impl<T: Send + 'static> ScopedDetach for JoinGuard<'static, T>
[src][+]
impl<'a, T: Send + 'a> Sync for JoinGuard<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for JoinGuard<'a, T>
impl<'a, T> Send for JoinGuard<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for JoinGuard<'a, T>
impl<'a, T> !UnwindSafe for JoinGuard<'a, T>
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,
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>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,