Attention needed from Adam Barth and Owners Override
Adam Perry has uploaded the change for review![Open in Gerrit]()
Adam Perry would like Owners Override and Adam Barth to review this change.
Commit message
[zx][rs] Add as_handle_ref inherent methods.
This allows most users to avoid importing AsHandleRef
unless they need it for a generic bound.
Also adds unowned() methods to return an Unowned
with the right type for the handle wrapper.
Bug: 434762683
Depends-on: turquoise-internal:Id72fc6ac94653ab25351ab8eccc7d7db8482ec8e
Change-Id: I1b10e67e42ac2cc84cebca8595f03f8dc0c3a2ee
Change information
Files:
- M examples/power/optimistic_lease_management/src/client.rs
- M sdk/rust/zx/src/futex.rs
- M sdk/rust/zx/src/handle.rs
- M sdk/rust/zx/src/interrupt.rs
- M sdk/rust/zx/src/macros.rs
- M sdk/rust/zx/src/wait.rs
- M src/connectivity/lib/network-device/rust/src/session/mod.rs
- M src/connectivity/network/tests/integration/socket/src/lib.rs
- M src/connectivity/overnet/lib/core/src/proxy/handle/event_pair.rs
- M src/connectivity/overnet/lib/core/src/router/mod.rs
- M src/diagnostics/archivist/src/inspect/repository.rs
- M src/fonts/tests/integration/src/old_api/mod.rs
- M src/graphics/display/lib/rust/display-utils/src/types.rs
- M src/lib/fdio/rust/src/lib.rs
- M src/lib/fdio/rust/src/spawn_builder.rs
- M src/lib/fidl/rust/external_tests/src/handle_rights.rs
- M src/lib/fidl/rust/fidl/src/client.rs
- M src/lib/fidl_codec/rust/src/handle/classic.rs
- M src/lib/fuchsia-async/src/handle/emulated/mod.rs
- M src/lib/fuchsia-component/directory/src/lib.rs
- M src/lib/process_builder/src/process_builder.rs
- M src/lib/trace/rust/trace-observer/src/lib.rs
- M src/lib/ui/carnelian/examples/png.rs
- M src/lib/ui/carnelian/src/scene/scene.rs
- M src/lib/ui/fidl_fuchsia_ui_views_ext/src/lib.rs
- M src/lib/ui/fuchsia-scenic/src/sysmem.rs
- M src/lib/ui/fuchsia-scenic/src/view_ref_pair.rs
- M src/power/broker/src/credentials.rs
- M src/power/broker/src/main.rs
- M src/power/cpu-manager/src/syscall_handler.rs
- M src/starnix/kernel/core/bpf/fs.rs
- M src/starnix/kernel/core/fs/fuchsia/remote_unix_domain_socket.rs
- M src/starnix/kernel/core/fs/fuchsia/timer.rs
- M src/starnix/kernel/core/perf/mod.rs
- M src/starnix/kernel/core/task/thread_group.rs
- M src/starnix/kernel/core/time/hr_timer_manager.rs
- M src/starnix/lib/ebpf_api/src/maps/hashmap.rs
- M src/starnix/lib/ebpf_api/src/maps/lock.rs
- M src/starnix/lib/ebpf_api/src/maps/lpm_trie.rs
- M src/starnix/lib/ebpf_api/src/maps/ring_buffer.rs
- M src/starnix/lib/usercopy/src/lib.rs
- M src/starnix/modules/magma/image_file.rs
- M src/starnix/modules/nanohub/datachannel_file.rs
- M src/starnix/runner/lib/kernel_manager/src/proxy.rs
- M src/starnix/runner/lib/kernel_manager/src/suspend.rs
- M src/storage/fxfs/platform/src/fuchsia/volume.rs
- M src/storage/lib/vfs/rust/src/object_request.rs
- M src/storage/stress-tests/utils/fvm.rs
- M src/sys/component_manager/lib/diagnostics/src/task_metrics/runtime_stats_source.rs
- M src/sys/component_manager/lib/diagnostics/src/task_metrics/testing.rs
- M src/sys/component_manager/lib/sandbox/src/fidl/dict.rs
- M src/sys/component_manager/lib/sandbox/src/fidl/dir_connector.rs
- M src/sys/component_manager/lib/sandbox/src/fidl/router.rs
- M src/sys/component_manager/lib/sandbox/src/fidl/store.rs
- M src/sys/component_manager/src/builtin/builtin_runner.rs
- M src/sys/component_manager/src/sandbox_util.rs
- M src/sys/lib/elf_runner/src/component.rs
- M src/sys/lib/elf_runner/src/lib.rs
- M src/sys/lib/elf_runner/src/process_launcher.rs
- M src/sys/lib/namespace/src/lib.rs
- M src/sys/pkg/tests/pkgdir/src/file.rs
- M src/sys/test_runners/src/elf/elf_component.rs
- M src/sys/test_runners/src/launch.rs
- M src/sys/time/testing/fake-hrtimer/src/main.rs
- M src/sys/time/testing/utc-handle-vendor/src/main.rs
- M src/sys/time/timekeeper/alarms/src/emu.rs
- M src/sys/time/timekeeper/alarms/src/timers.rs
- M src/sys/time/timekeeper/src/clock_manager.rs
- M src/sys/time/timekeeper/src/main.rs
- M src/sys/time/timekeeper_integration/tests/faketime/integration.rs
- M src/tests/fidl/dynsuite/client_suite/runners/rust_sync/src/main.rs
- M src/ui/bin/text/src/keyboard/keyboard3.rs
- M src/virtualization/lib/machina-virtio-device/src/notify.rs
Change size: M
Delta: 73 files changed, 80 insertions(+), 80 deletions(-)
Open in GerritRelated details
Attention is currently required from:
- Adam Barth
- Owners Override
Gerrit-MessageType: newchange
Gerrit-Project: fuchsia
Gerrit-Branch: main
Gerrit-Change-Id: I1b10e67e42ac2cc84cebca8595f03f8dc0c3a2ee
Gerrit-Change-Number: 1449578
Gerrit-PatchSet: 22
You received this message because you are subscribed to the Google Groups "owners-override" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
.