Struct tokio_threadpool::WorkerId
source · pub struct WorkerId(_);
Expand description
Identifies a thread pool worker.
This identifier is unique scoped by the thread pool. It is possible that different thread pool instances share worker identifier values.
Implementations
Trait Implementations
impl Eq for WorkerId
impl StructuralEq for WorkerId
impl StructuralPartialEq for WorkerId
Auto Trait Implementations
impl RefUnwindSafe for WorkerId
impl Send for WorkerId
impl Sync for WorkerId
impl Unpin for WorkerId
impl UnwindSafe for WorkerId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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