[−][src]Struct cloudabi::tid
Unique system-local identifier of a thread. This identifier is only valid during the lifetime of the thread.
Threads must be aware of their thread identifier, as it is written it into locks when acquiring them for writing. It is not advised to use these identifiers for any other purpose.
As the thread identifier is also stored in lock
when
LOCK_WRLOCKED
is set, the top two bits of the thread
must always be set to zero.
Trait Implementations
impl Clone for tid
[src]
fn clone(&self) -> tid
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tid
[src]
impl Debug for tid
[src]
impl Eq for tid
[src]
impl Hash for tid
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<tid> for tid
[src]
impl StructuralEq for tid
[src]
impl StructuralPartialEq for tid
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,