[roll] Roll fuchsia [fidl][rust] Split standalone encoding API by value/resource

This CL splits the Rust standalone encoding and decoding API to use
different functions for value types and resource types. This means:

* We can take the concrete type &T or T rather than Encode<T>. The
  latter could be confusing to users, and the Encode trait is meant to
  be an implementation detail of fidl::encoding.

* The compiler can infer the type parameter when encoding, i.e. instead
  of standalone_encode::<MyType>(...) it's standalone_encode_value(...).

* The user doesn't need to bother with handle buffers when they are
  encoding and decoding value types.

This is a follow-up based on the comment thread here:
https://fuchsia-review.googlesource.com/c/fuchsia/+/809828/comment/c5228dd9_020b5978/

Test: fx test fidl_rust_external_tests fidl_persistence_example_test
Original-Bug: 45252, 123572
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/832296
Original-Revision: 6d14f640e7a1851bcf79efb7bf3b3e06e0158843
GitOrigin-RevId: ad9323ac5c1ca4c44586bbe13e3ef1021da0aa54
Change-Id: I856baeaf424e2ec15b48f7c89daa2d810e27e8bd
1 file changed
tree: a37e62aead67c96a4c07819d74a53fdc2931ce99
  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.