pub struct WorkerThreadHandle { /* private fields */ }Implementations§
Source§impl WorkerThreadHandle
impl WorkerThreadHandle
pub fn current() -> Result<Self, PreemptionError>
pub fn interrupt(&self) -> Result<(), PreemptionError>
Trait Implementations§
impl Send for WorkerThreadHandle
impl Sync for WorkerThreadHandle
Auto Trait Implementations§
impl Freeze for WorkerThreadHandle
impl RefUnwindSafe for WorkerThreadHandle
impl Unpin for WorkerThreadHandle
impl UnwindSafe for WorkerThreadHandle
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