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 ๐