[roll] Roll fuchsia [routing] Remove Offer generics

The routing code now takes OfferDecl instead of
one of the variants. This simplifies the code for a
number of reasons:
- It is easier to see the types that the function operate on
- It will remove the need for a lot of type parameters
- The functions already had Into<OfferDecl> and were cloning
  the templated object, so working on this directly is simpler

Doing it this way makes the following things slightly more
difficult:
- The OfferVisitor needs to handle "all protocols". This is
  fine for availability, but for directory state they can
  just ignore non-directory types.
- The function `route_storage_backing_directory` starts
  with a StorageDeclAsRegistration, but it actually wants
  to walk OfferDirectoryDecls. Something here appears to
  be misnamed.

Original-Bug: b/305948828
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/938473
Original-Revision: 282bfbedae9e162d355b76fb8cf9a2a6205aaee7
GitOrigin-RevId: 01520f66f36b99c236798f0cfb25419d0f2a0267
Change-Id: I9d4ba9139cdcfc06faa0edcd29c0b0d4bd8aab62
1 file changed
tree: 26b26cca762a8543430321c32edf3ec36c2b28ef
  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.