about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-10-03 23:13:15 -0700
committerGitHub <noreply@github.com>2021-10-03 23:13:15 -0700
commit22714ed4e3954b3d60b3650bad743ec4b3d64d27 (patch)
tree7a226c67b9d0e7a3f5ba4c27e200085b2751d3d6 /library/std/src/sys/unix/process/process_unix.rs
parente737694a4d66b01308b73d4559a35b43e414faf9 (diff)
parentcbaccc12c700a2f4d4d22e2765c10b105497025e (diff)
downloadrust-22714ed4e3954b3d60b3650bad743ec4b3d64d27.tar.gz
rust-22714ed4e3954b3d60b3650bad743ec4b3d64d27.zip
Rollup merge of #86434 - CDirkx:ipv6-benchmarking, r=joshtriplett
Add `Ipv6Addr::is_benchmarking`

This PR adds the unstable method `Ipv6Addr::is_benchmarking`. This method is added for parity with `Ipv4Addr::is_benchmarking`, and I intend to use it in a future rework of `Ipv6Addr::is_global` (edit: #86634) to more accurately follow the [IANA Special Address Registry](https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml) (like is done in `Ipv4Addr::is_global`).

With `Ipv6Addr::is_benchmarking` and `Ipv4Addr::is_benchmarking` now both existing, `IpAddr::is_benchmarking` is also added.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions