Skip to main content

LazySchemaCache

Type Alias LazySchemaCache 

Source
pub type LazySchemaCache = Arc<Mutex<HashMap<(String, String), Option<HashMap<String, Value>>>>>;
Expand description

Type alias for the issue #135 lazy-schema cache. Keyed by (provider_name, upstream_url). The value is Option<map> so the negative result (dial failed / list failed) can be cached too — avoids retrying a known-bad upstream on every subsequent request. Named so clippy’s type_complexity lint doesn’t fire on the field.

Aliased Type§

pub struct LazySchemaCache { /* private fields */ }