You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason this isn't directly possible is because one can pass this in for fill: |x| *x = MaybeUninit::uninit(), thus deinitializing previously initialized memory in packet.
(not attaching the name of my project since it's still a prototype)
When building a zerocopy network protocol, I want to be able to have a function with the following signature:
so that users can just write to the uninit data and thus write to the underlying byte buffer.
Are there any reasons for why this isn't possible / desirable?
The text was updated successfully, but these errors were encountered: