fuchsia_async

Macro invoke_for_handle_types

Source
macro_rules! invoke_for_handle_types {
    ($x:ident) => { ... };
}
Expand description

invoke_for_handle_types!{mmm} calls the macro mmm! with two arguments: one is the name of a Zircon handle, the second is one of:

  • Everywhere for handle types that are supported everywhere FIDL is
  • FuchsiaOnly for handle types that are supported only on Fuchsia
  • Stub for handle types that have not yet had a Fuchsia API implemented in the zircon crate

To make a handle available everywhere, a polyfill must be implemented in crate::handle::emulated.