Replies: 1 comment 4 replies
|
Most russh things are |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Depends on what you're doing. If you actually share the reference to the structs between your own threads, you need to wrap it in
Arc<Mutex>like every other non-Syncobject. If the moving only happens due to async futures migrating between executor threads, you don't need it.