Struct gloo_worker::WorkerDestroyHandle
source · pub struct WorkerDestroyHandle<W>where
W: Worker + 'static,{ /* private fields */ }
Expand description
A handle that closes the worker when it is dropped.
Trait Implementations§
source§impl<W: Worker> Debug for WorkerDestroyHandle<W>
impl<W: Worker> Debug for WorkerDestroyHandle<W>
Auto Trait Implementations§
impl<W> !RefUnwindSafe for WorkerDestroyHandle<W>
impl<W> !Send for WorkerDestroyHandle<W>
impl<W> !Sync for WorkerDestroyHandle<W>
impl<W> Unpin for WorkerDestroyHandle<W>
impl<W> !UnwindSafe for WorkerDestroyHandle<W>
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