Struct luoshu_registry::RegistryStore
source · Expand description
注册中心存储
Fields§
§values: Vec<Registry>
注册中心列表
Implementations§
Trait Implementations§
source§impl<T> Store for RegistryStore<T>where
T: Storage,
impl<T> Store for RegistryStore<T>where
T: Storage,
source§fn get_storage(&self) -> Self::Storage
fn get_storage(&self) -> Self::Storage
获取存储对象
source§fn get_storage_key(&self) -> &str
fn get_storage_key(&self) -> &str
获取存储键名
source§fn get_values(&self) -> Vec<Self::Target>
fn get_values(&self) -> Vec<Self::Target>
获取存储数据
source§fn set_values(&mut self, values: Vec<Self::Target>)
fn set_values(&mut self, values: Vec<Self::Target>)
获取存储数据