Struct fuchsia_zircon::HandleRef [] [src]

pub struct HandleRef<'a> { /* fields omitted */ }

A borrowed reference to a Handle.

Mostly useful as part of a WaitItem.

Methods

impl<'a> HandleRef<'a>
[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> Debug for HandleRef<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> Copy for HandleRef<'a>
[src]

impl<'a> Clone for HandleRef<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Eq for HandleRef<'a>
[src]

impl<'a> PartialEq for HandleRef<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> Hash for HandleRef<'a>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> AsHandleRef for HandleRef<'a>
[src]

[src]

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

[src]

Interpret the reference as a raw handle (an integer type). Two distinct handles will have different raw values (so it can perhaps be used as a key in a data structure). Read more

[src]

Set and clear userspace-accessible signal bits on an object. Wraps the zx_object_signal syscall. Read more

[src]

Waits on a handle. Wraps the zx_object_wait_one syscall. Read more

[src]

Causes packet delivery on the given port when the object changes state and matches signals. zx_object_wait_async syscall. Read more