Skip to content

Conversation

SteveLauC
Copy link
Member

@SteveLauC SteveLauC commented Dec 18, 2024

What does this PR do

A PR that follows #2563, add:

impl Wrapper {
    pub unsafe fn from_owned_fd(fd: OwnedFd) -> Self
}

For all the remaining OwnedFd wrapper types.

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@SteveLauC SteveLauC added this pull request to the merge queue Dec 18, 2024
github-merge-queue bot pushed a commit that referenced this pull request Dec 18, 2024
* feat: add unsafe fn from_owned_fd() for owne fd wrapper types

* chore: changelog
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 18, 2024
@SteveLauC SteveLauC added this pull request to the merge queue Dec 18, 2024
Merged via the queue into nix-rust:master with commit 5ec9990 Dec 18, 2024
40 checks passed
@SteveLauC SteveLauC deleted the feat/from_owned_fd_for_wrappers branch December 18, 2024 06:09
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