Crate mecomp_core Copy item path Source audio config Handles the configuration of the daemon. errors logger rpc This module contains the service definitions. state udp Implementation for the UDP stack used by the server to broadcast events to clients function_name This macro returns the name of the enclosing function.
As the internal implementation is based on the std::any::type_name
, this macro derives
all the limitations of this function. OnceLockDefault A OnceLock
that returns a default value if it has not been set yet. format_duration get_config_dir Get the config directory for the application. get_data_dir Get the data directory for the application. is_server_running Check if a server is already running on localhost on the given port.
If a server is already running, return true, otherwise return false.