pub struct ThreadHandle<const P: usize> { /* private fields */ }Expand description
Represents a thread handle for a Queue.
Implementations§
Source§impl<const P: usize> ThreadHandle<P>
impl<const P: usize> ThreadHandle<P>
Sourcepub const fn thread_id(&self) -> usize
pub const fn thread_id(&self) -> usize
Gets the ThreadHandle thread ID.
Trait Implementations§
Source§impl<const P: usize> Clone for ThreadHandle<P>
impl<const P: usize> Clone for ThreadHandle<P>
Source§fn clone(&self) -> ThreadHandle<P>
fn clone(&self) -> ThreadHandle<P>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const P: usize> Debug for ThreadHandle<P>
impl<const P: usize> Debug for ThreadHandle<P>
Source§impl<const P: usize> PartialEq for ThreadHandle<P>
impl<const P: usize> PartialEq for ThreadHandle<P>
impl<const P: usize> Copy for ThreadHandle<P>
impl<const P: usize> Eq for ThreadHandle<P>
impl<const P: usize> StructuralPartialEq for ThreadHandle<P>
Auto Trait Implementations§
impl<const P: usize> Freeze for ThreadHandle<P>
impl<const P: usize> RefUnwindSafe for ThreadHandle<P>
impl<const P: usize> Send for ThreadHandle<P>
impl<const P: usize> Sync for ThreadHandle<P>
impl<const P: usize> Unpin for ThreadHandle<P>
impl<const P: usize> UnwindSafe for ThreadHandle<P>
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