[roll] Roll fuchsia [netstack3] Drop ctx arg from timer trigger fns

...which is currently just a pass-through to the timer handler
callback. A separate helper is used to bind arguments to the timer
handler method.

This is done to enable a single variant of `trigger_XXX` methods
on the `DummyTimerCtxExt` trait across the different types of
references (`&mut T` and `&T`).

Note that the ctx arg is only removed from methods that may trigger
multiple timers because there is no way to have a type that is generic
over both immutable and mutable references. Such a generic type needs to
support "re-borrows" so that we can do things like pass a mutable
reference (behind an opaque type) to a callback function in a loop but
this does not seem to be supported today so the solution was to remove
the pass-through ctx and bind it to the callback at the call-sites.
`trigger_next_timer` keeps the pass-through ctx arg because it may only
trigger at most 1 timer so that method does not need to support
"re-borrows".

Original-Bug: 48578
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/726206
Original-Revision: 1233cb08a770b73aef698b7258323c71ddc41eee
GitOrigin-RevId: 86c3db5350f43598c8db8e0dcf25326722a88e83
Change-Id: I750f53acaa5710ed81c8d557423ef865e52b0f63
1 file changed
tree: fb401711795f05c622b208bccbbc701ad98112d2
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. 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.