pub async fn run() -> Result<()>Expand description
Run this node
This function is auto-generated by the #[derive(Node)] macro.
§Configuration
Configuration is loaded with the following fallback chain:
- File path from environment variable:
#config_env - Default file path:
#config_path - Environment variables with prefix:
#env_prefix - Default configuration
§Examples
# Run with default config
./my_node
# Run with custom config file
MY_NODE_CONFIG=custom.yaml ./my_node
# Run with environment variable overrides
MY_NODE_FPS=60 ./my_node