Struct fuchsia_zircon::EventPair [] [src]

pub struct EventPair(_);

An object representing a Zircon event pair.

As essentially a subtype of Handle, it can be freely interconverted.

Methods

impl EventPair
[src]

[src]

Create an event pair, a pair of objects which can signal each other. Wraps the zx_eventpair_create syscall.

Trait Implementations

impl Debug for EventPair
[src]

[src]

Formats the value using the given formatter.

impl Eq for EventPair
[src]

impl PartialEq for EventPair
[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 AsHandleRef for EventPair
[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

impl From<Handle> for EventPair
[src]

[src]

Performs the conversion.

impl HandleBased for EventPair
[src]

[src]

Duplicate a handle, possibly reducing the rights available. Wraps the zx_handle_duplicate syscall. Read more

[src]

Create a replacement for a handle, possibly reducing the rights available. This invalidates the original handle. Wraps the zx_handle_replace syscall. Read more

[src]

Converts the value into its inner handle. Read more

[src]

Converts the handle into it's raw representation. Read more

[src]

Creates an instance of this type from a handle. Read more

[src]

Creates an instance of another handle-based type from this value's inner handle.

[src]

Creates an instance of this type from the inner handle of another handle-based type. Read more

impl Peered for EventPair
[src]

[src]

Set and clear userspace-accessible signal bits on the object's peer. Wraps the zx_object_signal_peer syscall. Read more

impl Cookied for EventPair
[src]

Get the cookie attached to this object, if any. Wraps the zx_object_get_cookie syscall. Read more

Attach an opaque cookie to this object with the given scope. The cookie may be read or changed in future only with the same scope. Wraps the zx_object_set_cookie syscall. Read more