Struct parking_lot::RawThreadId
source · pub struct RawThreadId;
Expand description
Implementation of the GetThreadId
trait for lock_api::ReentrantMutex
.
Trait Implementations§
source§impl GetThreadId for RawThreadId
impl GetThreadId for RawThreadId
source§const INIT: RawThreadId = RawThreadId
const INIT: RawThreadId = RawThreadId
Initial value.
source§fn nonzero_thread_id(&self) -> NonZeroUsize
fn nonzero_thread_id(&self) -> NonZeroUsize
Returns a non-zero thread ID which identifies the current thread of
execution. Read more