Struct RawThreadId
pub struct RawThreadId;
Implementation of the GetThreadId trait for lock_api::ReentrantMutex.
Trait Implementations
impl GetThreadId for RawThreadId
const INIT: RawThreadId = RawThreadId;fn nonzero_thread_id(&self) -> NonZeroUsize
Auto Trait Implementations
impl Freeze for RawThreadId
impl RefUnwindSafe for RawThreadId
impl Send for RawThreadId
impl Sync for RawThreadId
impl Unpin for RawThreadId
impl UnsafeUnpin for RawThreadId
impl UnwindSafe for RawThreadId
Blanket Implementations
impl<T> Any for RawThreadId
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for RawThreadId
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for RawThreadId
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for RawThreadId
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for RawThreadId
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 RawThreadId
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for RawThreadId
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>