Trait ice_core::storage::kv::HashMapExt
[−]
[src]
pub trait HashMapExt { fn get(
&self,
k: &str,
map_key: &str
) -> Box<Future<Item = Option<String>, Error = StorageError> + Send>; fn set(
&self,
k: &str,
map_key: &str,
v: &str
) -> Box<Future<Item = (), Error = StorageError> + Send>; fn remove(
&self,
k: &str,
map_key: &str
) -> Box<Future<Item = (), Error = StorageError> + Send>; }
Required Methods
fn get(
&self,
k: &str,
map_key: &str
) -> Box<Future<Item = Option<String>, Error = StorageError> + Send>
&self,
k: &str,
map_key: &str
) -> Box<Future<Item = Option<String>, Error = StorageError> + Send>
fn set(
&self,
k: &str,
map_key: &str,
v: &str
) -> Box<Future<Item = (), Error = StorageError> + Send>
&self,
k: &str,
map_key: &str,
v: &str
) -> Box<Future<Item = (), Error = StorageError> + Send>
fn remove(
&self,
k: &str,
map_key: &str
) -> Box<Future<Item = (), Error = StorageError> + Send>
&self,
k: &str,
map_key: &str
) -> Box<Future<Item = (), Error = StorageError> + Send>
Implementors
impl HashMapExt for MemoryStorageHashMapExt