use std::sync::Arc;
#[macro_use]
mod macros;
mod count;
mod flushb;
mod flushc;
mod flusho;
mod list;
mod pop;
mod push;
mod search;
mod suggest;
pub struct Executor {
pub app_conf: Arc<crate::Config>,
pub kv_pool: crate::store::kv::StoreKVPool,
pub fst_pool: crate::store::fst::StoreFSTPool,
}
impl std::fmt::Debug for Executor {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let Self {
kv_pool,
fst_pool,
app_conf: _app_conf,
} = self;
f.debug_struct("Executor")
.field("kv_pool", kv_pool)
.field("fst_pool", fst_pool)
.finish_non_exhaustive()
}
}