Struct usync::RawThreadId
source · [−]pub struct RawThreadId;
Expand description
Implementation of the GetThreadId
trait for lock_api::ReentrantMutex
.
Trait Implementations
sourceimpl Debug for RawThreadId
impl Debug for RawThreadId
sourceimpl Default for RawThreadId
impl Default for RawThreadId
sourcefn default() -> RawThreadId
fn default() -> RawThreadId
Returns the “default value” for a type. Read more
sourceimpl GetThreadId for RawThreadId
impl GetThreadId for RawThreadId
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for RawThreadId
impl Send for RawThreadId
impl Sync for RawThreadId
impl Unpin for RawThreadId
impl UnwindSafe for RawThreadId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more