Expand description
Helpers for defining and calling ThreadAware closures.
Structs§
- Closure
- A common implementation of
RelocateFn. - Closure
Mut - A common implementation of
RelocateFnMut. - Closure
Once - A common implementation of
RelocateFnOnce.
Traits§
- Relocate
Fn - Marks
Fn()-like closure whose captured values all implementThreadAware. - Relocate
FnMut - Marks
FnMut()-like closure whose captured values all implementThreadAware. - Relocate
FnOnce - Marks
FnOnce()-like closures whose captured values all implementThreadAware.
Functions§
- relocate
- Constructs a
RelocateFn. - relocate_
mut - Constructs a
RelocateFnMut. - relocate_
once - Constructs a
RelocateFnOnce.