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 needos-ext
. - cfg_io_source ๐One of the features enabled that needs
IoSource
. That isnet
oros-ext
on Unix (forpipe
). - 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 ๐