[roll] Roll fuchsia [net-types] Make GenericOverIp type explicit

Requires that #[derive(GenericOverIp)] invocations explicitly specify
which type parameter is the generic-over-ip one with the
`#[generic_over_ip]` attribute, rather than inferring it from the bounds
on the struct generics.

Consider the following example:

```
 #[derive(GenericOverIp)]
 #[generic_over_ip(<ARGUMENTS EXPLAINED BELOW>)]
 struct Foo<T>(T);
```

`#[generic_over_ip(T, Ip)]` specifies that the GenericOverIp impl
should be written treating `T` as an `Ip` implementor (either `Ipv4` or
`Ipv6`).

`#[generic_over_ip(T, IpAddress)]` specifies that `T` is an `IpAddress`
implementor (`Ipv4Addr` or `Ipv6Addr`).

`#[generic_over_ip(T, GenericOverIp)]` specifies that `T` implements
`GenericOverIp<I>` for all `I: Ip`. (Notably, we'd like to use this case
for the Ip and IpAddress cases above, but we cannot due to issues
with conflicting blanket impls.)

`#[generic_over_ip()]` specifies that `Foo` is IP-invariant.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/919652
Original-Revision: bc20a8f309a53612d98c49301250a34bac34a3f4
GitOrigin-RevId: e72b15ee906daabb61ef58f3ffdd8326626bb9dd
Change-Id: I287700977c17944dffd6cd6f8e1e15fb62bb5473
1 file changed
tree: 467bda24e5761e85c14efe78d88cb465c614d563
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.