Crate zx

Source
Expand description

Type-safe bindings for Zircon kernel syscalls.

Modules§

  • Prelude containing common utility traits. Designed for use like use zx::prelude::*;

Macros§

Structs§

Enums§

Traits§

  • A trait to get a reference to the underlying handle of an object.
  • A trait implemented by all handle-based types.
  • A trait implemented by all handles for objects which have a peer.
  • A marker trait for times and durations to prevent accidental comparison between different units.
  • A marker trait for times to prevent accidental comparison between different timelines.

Functions§

  • Mix the given entropy into the kernel CPRNG.
  • Draw random bytes from the kernel’s CPRNG to fill buffer. This function always fills the buffer.
  • Draw random bytes from the kernel’s CPRNG to fill the provided buffer. This function always fills the buffer.
  • Draw random bytes from the kernel’s CPRNG to fill buffer. This function always fills the buffer.
  • Wait on multiple handles. The success return value is a bool indicating whether one or more of the provided handle references was closed during the wait.
  • Convenience re-export of Status::ok.
  • Get number of logical processors on the system.
  • Retrieve the system memory page size in bytes.
  • Get the amount of physical memory on the system, in bytes.
  • Return a version string describing the system (kernel). This string never changes.

Type Aliases§