-
-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to serialize Weak pointers #186
Comments
It's also not clear what we should do for deserialization. |
I'd serialize it as an |
@oli-obk: I suppose that would work, but it seems sad that we wouldn't actually be able to deserialize these weak types. I wonder if a better idea would be to get a |
rust-lang/rust#30467 added a |
|
My point about #194 being unresolved remains I'm afraid, tho of course I'm happy Weak::new is stable now |
As mentioned on reddit. Open question: What do we do if the value the
Weak
pointer is pointing at has been destroyed? Should we serialize them as anOption
pointer?The text was updated successfully, but these errors were encountered: