Module mio::macros

source ยท
Expand description

Macros to ease conditional code based on enabled features.

Macrosยง

  • cfg_any_os_ext ๐Ÿ”’
    The os-ext feature is enabled, or one of the features that need os-ext.
  • cfg_io_source ๐Ÿ”’
    One of the features enabled that needs IoSource. That is net or os-ext on Unix (for pipe).
  • cfg_net ๐Ÿ”’
    The net feature is enabled.
  • cfg_not_os_poll ๐Ÿ”’
    The os-poll feature is disabled.
  • cfg_os_ext ๐Ÿ”’
    The os-ext feature is enabled.
  • cfg_os_poll ๐Ÿ”’
    The os-poll feature is enabled.
  • error ๐Ÿ”’
  • log ๐Ÿ”’
  • trace ๐Ÿ”’
  • warn ๐Ÿ”’