MCPcopy Create free account
hub / github.com/cosdata/cosdata / AppContext

Class AppContext

src/app_context.rs:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11#[allow(unused)]
12pub struct AppContext {
13 pub config: Arc<Config>,
14 pub threadpool: Arc<ThreadPool>,
15 pub ain_env: Arc<AppEnv>,
16 pub collection_cache_manager: Arc<CollectionCacheManager>,
17}
18
19impl AppContext {
20 pub fn new(config: Config, args: CosdataArgs) -> Result<Self, WaCustomError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected