pub struct Store<'a> { /* private fields */ }Implementations§
Source§impl<'a> Store<'a>
impl<'a> Store<'a>
pub fn new() -> Self
pub fn with_in_memory(self, client: &'a mut dyn InMemoryClient) -> Self
pub fn with_kvs_client(self, client: &'a mut dyn KVSClient) -> Self
Sourcepub fn get(&self, store_config: &HashMap<String, Value>) -> Option<Value>
pub fn get(&self, store_config: &HashMap<String, Value>) -> Option<Value>
Get value from store based on store_config
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Store<'a>
impl<'a> !RefUnwindSafe for Store<'a>
impl<'a> Send for Store<'a>
impl<'a> Sync for Store<'a>
impl<'a> Unpin for Store<'a>
impl<'a> UnsafeUnpin for Store<'a>
impl<'a> !UnwindSafe for Store<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more