Struct tokio_threadpool::Worker
source · [−]pub struct Worker { /* private fields */ }
Expand description
Thread worker
This is passed to the around_worker
callback set on Builder
. This
callback is only expected to call run
on it.
Implementations
sourceimpl Worker
impl Worker
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Worker
impl !Send for Worker
impl !Sync for Worker
impl Unpin for Worker
impl !UnwindSafe for Worker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more