Expand description
Module bootstrap from environment.
When the node spawns a module, it passes MODULE_ID, SOCKET_PATH, and DATA_DIR
via environment variables. Use ModuleBootstrap::from_env() to read them—no clap needed.
Structs§
- Module
Bootstrap - Bootstrap parameters for a module, read from environment.
Traits§
- Module
Config - Config types that can be loaded and converted to context map.
Use
impl_module_config!(ConfigType)to implement by delegating to inherentloadandto_context_map.