1 2 3 4 5 6 7 8
use parking_lot::Mutex; use std::sync::Arc; #[derive(Clone)] pub struct CacheConnectorMemcache { pub(crate) client: Arc<Mutex<memcache::Client>>, pub(crate) prefix: String, }