Skip to main content

ErasedConfig

Type Alias ErasedConfig 

Source
pub type ErasedConfig = Arc<dyn Any + Send + Sync>;
Expand description

Type-erased config storage.

Internally an Arc<dyn Any + Send + Sync> so Arc::downcast can recover Arc<Config<C>> sharing the same allocation. Re-exported as a type alias for clarity at callsites.

Aliased Typeยง

pub struct ErasedConfig { /* private fields */ }