Crate threadporter

Source
Expand description

Threadporter — first aid kit for !Send + !Sync values ⛑️

This crate provides help for working with types that are !Send + !Sync as they usually occur when targeting WebAssembly and working with JavaScript objects.

Structs§

ThreadBound
Allows access to a value only from the thread that created this, but always implements Send and Sync.

Functions§

thread_bound
Binds the value to the current thread.