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
_ => panic!("unknown discriminator"), // FIXME: this should not be a panic
Now, I'm happy to fix this and submit a pull request but how? Because this is part of the derived parcel implementation, I'm not sure what the generated code ends up looking like or what can be returned here to replace the panic
The text was updated successfully, but these errors were encountered:
This panic line caused one of our production systems to crash when trying to decode messages on a noisy channel.
protocol/protocol-derive/src/codegen/enums.rs
Line 66 in ae808cf
Now, I'm happy to fix this and submit a pull request but how? Because this is part of the derived parcel implementation, I'm not sure what the generated code ends up looking like or what can be returned here to replace the panic
The text was updated successfully, but these errors were encountered: