Skip to main content

ConfigEnv

Type Alias ConfigEnv 

Source
pub type ConfigEnv = Context<Cons<Service<ConfigProviderKey, ConfigProviderService>, Nil>>;
Expand description

Type alias for a minimal effect context containing only ConfigProviderService.

Use with config_env and run_blocking to evaluate Config<T>::run() or read_* effects in tests and CLI entry points.

Aliased Type§

pub struct ConfigEnv(pub Cons<Tagged<ConfigProviderKey, ConfigProviderService>, Nil>);

Tuple Fields§

§0: Cons<Tagged<ConfigProviderKey, ConfigProviderService>, Nil>