Skip to content

Replace RawFd with IntoRawFd or AsRawFd as appropriate #678

Open
@Susurrus

Description

@Susurrus

This is blocking on the resolution of rust-lang/rust#43254. Right now you can't have both RawFd and T: AsRawFd supported as inputs to the same function, so implementing this doesn't actually improve ergonomics. We may be able to create a newtype wrapper in nix, but I want to see if there might be a solution from the Rust devs here before we do our own newtype-wrapper based implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions