-
Title |
Beta Was this translation helpful? Give feedback.
Answered by
Eugeny
Jul 4, 2024
Replies: 1 comment 4 replies
-
Most russh things are |
Beta Was this translation helpful? Give feedback.
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-Sync
object. If the moving only happens due to async futures migrating between executor threads, you don't need it.