Skip to content

MsgHdr[Mut] should be repr(transparent) #633

@nerodono

Description

@nerodono

Since documentation explicitly states

This wraps msghdr on Unix and WSAMSG on Windows

MsgHdr[Mut] should be repr(transparent) over this type, or, at least, provide:

  • impl From<MsgHdr[Mut]> for libc::msghdr
  • MsgHdr[Mut]::as_hdr_ref() -> &libc::msghdr
  • MsgHdrMut::as_hdr_mut() -> &mut libc::msghdr

I can start working on this if it's OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions