Struct

std::thread::SpawnPayload

source
forall Env, Ret.
struct SpawnPayload { ... }

The closure spawn hands the new thread, boxed on the heap for trampoline to take. Used by spawn; not meant for direct use.