Trait message_worker::ThreadSafeContext [−][src]
Expand description
If you are using a non_blocking
listener, this implementation is required
alongside Context
.
For mutability inside a Context
you can use Mutexes
or RwLocks.
The Message Worker runtime guarantees that it will never attempt to access your context
in parallel from one listener.