Struct JoinInner
pub(in ::thread) struct JoinInner<'scope, T> { pub(in ::thread::lifecycle) native: Thread, pub(in ::thread::lifecycle) thread: Thread, pub(in ::thread::lifecycle) packet: Arc<Packet<'scope, T>> }
Inner representation for JoinHandle
Fields
native: Threadthread: Threadpacket: Arc<Packet<'scope, T>>
Implementations
impl<'scope, T> JoinInner<'scope, T>
fn is_finished(&self) -> boolfn thread(&self) -> &Threadfn join(self) -> Result<T>
Trait Implementations
impl<T> AsInner<Thread> for JoinInner<'static, T>
fn as_inner(&self) -> &Thread
impl<T> IntoInner<Thread> for JoinInner<'static, T>
fn into_inner(self) -> Thread
Auto Trait Implementations
impl<'scope, T> !RefUnwindSafe for JoinInner<'scope, T>
impl<'scope, T> !UnwindSafe for JoinInner<'scope, T>
impl<'scope, T> Freeze for JoinInner<'scope, T>
where
Arc<Packet<'scope, T>>: Freeze,
impl<'scope, T> Send for JoinInner<'scope, T>
where
Arc<Packet<'scope, T>>: Send,
impl<'scope, T> Sync for JoinInner<'scope, T>
where
Arc<Packet<'scope, T>>: Sync,
impl<'scope, T> Unpin for JoinInner<'scope, T>
where
Arc<Packet<'scope, T>>: Unpin,
impl<'scope, T> UnsafeUnpin for JoinInner<'scope, T>
where
Arc<Packet<'scope, T>>: UnsafeUnpin,
Blanket Implementations
impl<T> Any for JoinInner<'scope, T>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for JoinInner<'scope, T>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for JoinInner<'scope, T>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for JoinInner<'scope, T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for JoinInner<'scope, T>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for JoinInner<'scope, T>
impl<T, U> Into<U> for JoinInner<'scope, T>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for JoinInner<'scope, T>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for JoinInner<'scope, T>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>