AsHandleRef

Trait AsHandleRef 

pub trait AsHandleRef {
    // Required method
    fn as_handle_ref(&self) -> Unowned<'_, NullableHandle>;
}
Expand description

A trait to get a reference to the underlying handle of an object.

Required Methods§

fn as_handle_ref(&self) -> Unowned<'_, NullableHandle>

Get a reference to the handle. One important use of such a reference is for object_wait_many.

Implementations on Foreign Types§

§

impl AsHandleRef for Bti

§

impl AsHandleRef for Channel

§

impl AsHandleRef for Exception

§

impl AsHandleRef for Iommu

§

impl AsHandleRef for Msi

§

impl AsHandleRef for Pager

§

impl AsHandleRef for PciDevice

§

impl AsHandleRef for Pmt

§

impl AsHandleRef for Socket

§

impl AsHandleRef for SuspendToken

§

impl<H> AsHandleRef for OnSignals<'_, H>
where H: AsHandleRef,

§

impl<H> AsHandleRef for OnSignalsFuture<'_, H>
where H: AsHandleRef,

§

impl<K> AsHandleRef for OnInterrupt<K>
where K: InterruptKind,

§

impl<R, W> AsHandleRef for Fifo<R, W>
where R: FromBytes + IntoBytes, W: FromBytes + IntoBytes,

§

impl<T> AsHandleRef for &T
where T: AsHandleRef,

§

impl<T> AsHandleRef for ClientEnd<T>

§

impl<T> AsHandleRef for ServerEnd<T>

Implementors§

§

impl AsHandleRef for fidl_next::fuchsia::zx::Bti

§

impl AsHandleRef for fidl_next::fuchsia::zx::Channel

§

impl AsHandleRef for Counter

§

impl AsHandleRef for DebugLog

§

impl AsHandleRef for Event

§

impl AsHandleRef for EventPair

§

impl AsHandleRef for fidl_next::fuchsia::zx::Exception

§

impl AsHandleRef for Guest

§

impl AsHandleRef for Iob

§

impl AsHandleRef for fidl_next::fuchsia::zx::Iommu

§

impl AsHandleRef for Job

§

impl AsHandleRef for NullableHandle

§

impl AsHandleRef for fidl_next::fuchsia::zx::Pager

§

impl AsHandleRef for fidl_next::fuchsia::zx::Pmt

§

impl AsHandleRef for Port

§

impl AsHandleRef for Process

§

impl AsHandleRef for Profile

§

impl AsHandleRef for Resource

§

impl AsHandleRef for fidl_next::fuchsia::zx::Socket

§

impl AsHandleRef for Stream

§

impl AsHandleRef for Thread

§

impl AsHandleRef for Vcpu

§

impl AsHandleRef for Vmar

§

impl AsHandleRef for Vmo

§

impl AsHandleRef for IobSharedRegion

§

impl<'a, T> AsHandleRef for Unowned<'a, T>
where T: AsHandleRef,

§

impl<K, T> AsHandleRef for Interrupt<K, T>
where K: InterruptKind, T: Timeline,

§

impl<R, W> AsHandleRef for fidl_next::fuchsia::zx::Fifo<R, W>

§

impl<Reference, Output> AsHandleRef for Clock<Reference, Output>
where Reference: Timeline, Output: Timeline,

§

impl<T> AsHandleRef for Timer<T>
where T: Timeline,