nix icon indicating copy to clipboard operation
nix copied to clipboard

Implement conversion from std::net::Shutdown

Open gnaaman-dn opened this issue 8 months ago • 0 comments
trafficstars

What does this PR do

std::net::Shutdown and nix's Shutdown are basically the same. It is possible in theory to completely the nix version in favour of std's, but it lacks the Hash implementation, so I opted to just add a conversion.

Checklist:

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

gnaaman-dn avatar Feb 24 '25 11:02 gnaaman-dn