pub struct ThreadRunner { /* private fields */ }Expand description
ref ~/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust/library/std/src/sys/pal/wasi/thread.rs this type is *mut Box<dyn FnOnce()> but we can’t use it directly, because ABI was not designed with this in mind A wrapper for a thread’s entry point function.
Implementations§
Trait Implementations§
Source§impl Debug for ThreadRunner
impl Debug for ThreadRunner
impl Send for ThreadRunner
Auto Trait Implementations§
impl !RefUnwindSafe for ThreadRunner
impl !Sync for ThreadRunner
impl !UnwindSafe for ThreadRunner
impl Freeze for ThreadRunner
impl Unpin for ThreadRunner
impl UnsafeUnpin for ThreadRunner
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