pub struct ThreadId(/* private fields */);Expand description
Identifier for a running thread
This is an opaque object that identifies a thread (like std::thread::ThreadId but without the uniqueness guarantee). Its actual value cannot be accessed because the underlying representation varies across platforms, but it implements Eq and Hash for comparison purposes.
Trait Implementations§
Source§impl From<u64> for ThreadId
impl From<u64> for ThreadId
Source§fn from(value: aws_thread_id_t) -> Self
fn from(value: aws_thread_id_t) -> Self
Converts to this type from the input type.
impl Eq for ThreadId
impl StructuralPartialEq for ThreadId
Auto Trait Implementations§
impl Freeze for ThreadId
impl RefUnwindSafe for ThreadId
impl Send for ThreadId
impl Sync for ThreadId
impl Unpin for ThreadId
impl UnwindSafe for ThreadId
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