A handle to a thread.
Atomically makes the handle's token available if it is not already.
Every thread is equipped with some basic low-level blocking support, via
park function and the
unpark() method. These can be
used as a more CPU-efficient implementation of a spinlock.
Gets the thread's unique identifier.
Gets the thread's name.
For more information about named threads, see [this module-level documentation][naming-threads].
Auto Trait Implementations
impl !RefUnwindSafe for SgxThread
impl !UnwindSafe for SgxThread
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.