-
Notifications
You must be signed in to change notification settings - Fork 185
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
Add new type DataPayloadOr #4463
Conversation
The first, and primary, commit on this branch is 5e4d3d1. The others are inherited from the dependent PRs. |
🎉 All dependencies have been resolved ! |
/// assert_eq!(W * 4, size_of::<DataPayloadOr<HelloWorldV1Marker, [usize; 2]>>()); | ||
/// assert_eq!(W * 5, size_of::<DataPayloadOr<HelloWorldV1Marker, [usize; 3]>>()); | ||
/// ``` | ||
pub struct DataPayloadOr<M: DataMarker, O>(pub(crate) DataPayloadOrInner<M, O>); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought: perhaps this should be internal/unstable for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not blocking
Depends on #4462
Fixes #4438
I need the doubly nested inner enums to make this work. https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=5503d0a8d7641700132b80ed50de334d