Reasons for !Send. #398
Unanswered
navneetankur
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Could you point please where |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
mlua::Lua is !Send by default. What is the reason for it except for existence of Owned types like OwnedTable?
Internally I see it uses Rc. But it should be fine if nothing Rc-like can be taken out of mlua::Lua correct?
And what is difference between with and without [send] feature. Other than Rc/Arc and Owned types?
Basically If I wrap mlua::Lua in Exclusive, can I forcefully mark it as Send through newtype?
Beta Was this translation helpful? Give feedback.
All reactions