Skip to content

Conversation

@larseggert
Copy link
Contributor

Replace conditional compilation on the hdr parameter with a generic type bound M: cmsg::MsgHdr<ControlMessage = libc::cmsghdr>. This enables decode_recv to work with both libc::msghdr and msghdr_x message types.

Broken out of #2463 as suggested by @djc.

Replace conditional compilation on the `hdr` parameter with a generic type bound `M: cmsg::MsgHdr<ControlMessage = libc::cmsghdr>`. This enables `decode_recv` to work with both `libc::msghdr` and `msghdr_x` message types.

Broken out of quinn-rs#2463 as suggested by @djc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant