spin_factor_key_valueTrait StoreManager
Source pub trait StoreManager: Sync + Send {
// Required methods
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Store>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn is_defined(&self, store_name: &str) -> bool;
// Provided method
fn summary(&self, store_name: &str) -> Option<String> { ... }
}
A human-readable summary of the given store’s configuration
Example: “Redis at localhost:1234”