Struct fuchsia_zircon::Event [] [src]

pub struct Event(_);

An object representing a Zircon event object.

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

Methods

impl Event
[src]

[src]

Create an event object, an object which is signalable but nothing else. Wraps the zx_event_create syscall.

Trait Implementations

impl Debug for Event
[src]

[src]

Formats the value using the given formatter.

impl Eq for Event
[src]

impl PartialEq for Event
[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 Event
[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 Event
[src]

[src]

Performs the conversion.

impl HandleBased for Event
[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 Cookied for Event
[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