struct Remote {
pub(super) steal: Steal<Arc<Handle>>,
unpark: Unparker,
}
Expand description
Used to communicate with a worker from other threads.
Fields§
§steal: Steal<Arc<Handle>>
Steals tasks from this worker.
unpark: Unparker
Unparks the associated worker thread
Auto Trait Implementations§
impl Freeze for Remote
impl !RefUnwindSafe for Remote
impl Send for Remote
impl Sync for Remote
impl Unpin for Remote
impl !UnwindSafe for Remote
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