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.
Auto Trait Implementations§
impl Freeze for RawThreadId
impl RefUnwindSafe for RawThreadId
impl Send for RawThreadId
impl Sync for RawThreadId
impl Unpin for RawThreadId
impl UnwindSafe for RawThreadId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more